harbor/make/migrations/postgresql
Chlins Zhang 43ccd2f09f
perf: optimize the performance of accessory query (#19557)
1. Add db index for subject_artifact_id in table artifact_accessory.
2. Optimize the SQL of excluding the accessory for artifact count.

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-11-22 02:11:11 +00:00
..
0001_initial_schema.up.sql Set default email to null if not provided 2019-08-19 15:20:44 +08:00
0002_1.7.0_schema.up.sql Update the upgrade sql to rename the duplicate records 2019-01-04 14:55:33 +08:00
0003_add_replication_op_uuid.up.sql Add op uuid to image replication 2018-10-21 23:55:57 +08:00
0004_1.8.0_schema.up.sql Fix migrator scan all schedule from v1.7.0 (#7763) 2019-05-10 17:08:52 +08:00
0005_1.8.2_schema.up.sql Delete the nono scan all schedule in migration 2019-08-01 16:59:13 +08:00
0010_1.9.0_schema.up.sql Move db change to new migration file 2019-09-25 15:57:03 +08:00
0011_1.9.1_schema.up.sql Move db change to new migration file 2019-09-25 15:57:03 +08:00
0012_1.9.4_schema.up.sql Support pinning to authproxy server's cert 2019-12-03 07:31:26 +08:00
0015_1.10.0_schema.up.sql Avoid to create duplicated immutable tag rules in the same project 2019-11-15 14:46:23 +08:00
0030_2.0.0_schema.up.sql Merge pull request #11753 from tedgxt/2.0-webhook-event-types-fix 2020-04-28 19:36:44 +08:00
0031_2.0.3_schema.up.sql fix migration issue 2020-08-27 19:04:39 +08:00
0040_2.1.0_schema.up.sql Fill in the icon of known artifacts in artifact controller 2020-08-28 01:33:26 +08:00
0041_2.1.4_schema.up.sql Add upgrade sql file introduced in 2.1.4 2021-03-15 16:48:51 +08:00
0050_2.2.0_schema.up.sql fix: change art_size to bigint in migrations 2021-05-11 04:01:02 +00:00
0051_2.2.1_schema.up.sql Fix the consume too much CPU issue 2021-03-17 13:34:24 +08:00
0052_2.2.2_schema.up.sql Fix duplicate execution record issue 2021-05-12 15:40:52 +08:00
0053_2.2.3_schema.up.sql perf: add 2.2.3 schema up sql to master (#15027) 2021-06-01 14:12:25 +08:00
0060_2.3.0_schema.up.sql Fix bug of migration sql for replication policy 2021-05-26 18:57:23 +08:00
0061_2.3.4_schema.up.sql Allow empty email attribute for ldap/oidc user 2021-09-30 14:35:18 +08:00
0070_2.4.0_schema.up.sql fix: convert severity from negligible to none before saving to db (#15791) 2021-10-14 16:02:38 +08:00
0071_2.4.2_schema.up.sql Move removing old version scan reports of trivy to 2.4.2 (#16261) 2022-01-24 14:05:24 +08:00
0080_2.5.0_schema.up.sql Create index on task with job_id 2022-03-02 20:51:36 +08:00
0081_2.5.2_schema.up.sql migrate: add db index on artifact repository name (#17053) 2022-06-22 14:34:40 +08:00
0082_2.5.3_schema.up.sql fix: repair execution status when it inconsistent (#17128) 2022-07-06 17:02:03 +08:00
0090_2.6.0_schema.up.sql fix: reduce the high db cpu usage for tag retention (#17296) 2022-08-04 10:08:02 +08:00
0091_2.6.2_schema.up.sql fix: cherry pick 262 sql for migrations (#17735) 2022-11-03 10:05:46 +08:00
0100_2.7.0_schema.up.sql Add REST API to list job queue status, pause/resume job queue and list schedulers (#17707) 2022-11-17 20:12:07 +08:00
0110_2.8.0_schema.up.sql style: adjust the style of migration SQL (#18475) 2023-04-04 17:37:27 +08:00
0111_2.8.1_schema.up.sql fix: cherry pick the migration sql (#18644) 2023-05-10 16:35:07 +08:00
0120_2.9.0_schema.up.sql Sort most dangerous vulnerabilities by score and severity level (#19103) 2023-08-07 10:13:34 +08:00
0130_2.10.0_schema.up.sql perf: optimize the performance of accessory query (#19557) 2023-11-22 02:11:11 +00:00