2021-04-14 05:21:44 +02:00
|
|
|
ALTER TABLE replication_policy ADD COLUMN IF NOT EXISTS dest_namespace_replace_count int;
|
2021-05-26 12:57:23 +02:00
|
|
|
UPDATE replication_policy SET dest_namespace_replace_count=-1 WHERE dest_namespace IS NOT NULL;
|
2021-05-20 05:25:43 +02:00
|
|
|
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_artifact_push_time ON artifact (push_time);
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_tag_push_time ON tag (push_time);
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_tag_artifact_id ON tag (artifact_id);
|
2021-05-20 13:50:13 +02:00
|
|
|
CREATE INDEX IF NOT EXISTS idx_artifact_reference_child_id ON artifact_reference (child_id);
|
|
|
|
CREATE INDEX IF NOT EXISTS idx_audit_log_op_time ON audit_log (op_time);
|