harbor/make/migrations/postgresql
Wang Yan 790064df2e
fix notification policy ugrade issue (#11627)
Fixes #11624

All of the existing policies created v1.10 has no name, it fails the upgrade process.
When to set the unique constraint for policy name, the empty can be seen as duplicated key.

ERROR:  could not create unique index "notification_policy_name_key"
DETAIL:  Key (name)=() is duplicated.

Signed-off-by: wang yan <wangyan@vmware.com>
2020-04-16 14:53:58 +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 fix notification policy ugrade issue (#11627) 2020-04-16 14:53:58 +08:00