harbor/make/migrations/postgresql
wang yan 9822e5bb15 fix db migration issue
fixes #12827
 After user migrates Harbor from v2.0.2, user got 404 when to pull specific images, and no work after push the same images again.

 Fix:
 1, If the issue is caused by missing repository data, this fix can revert the missing repository data and all things should be fine.
 2, If the issue is caused by missing blob data, this fix can revert the missing repository data and still left the media type of artifact
    as 'UNKNOWN', which leads the meta data and build history of the image cannot be shown in UI. User can delete and push the image again to
    resolve it.

Signed-off-by: wang yan <wangyan@vmware.com>
2020-08-26 12:02:20 +08: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 db migration issue 2020-08-26 12:02:20 +08:00
0040_2.1.0_schema.up.sql fix upgrade issue (#12857) 2020-08-24 16:08:15 +08:00