harbor/make/migrations/postgresql/0060_2.3.0_schema.up.sql

2 lines
181 B
MySQL
Raw Normal View History

ALTER TABLE replication_policy ADD COLUMN IF NOT EXISTS dest_namespace_replace_count int;
UPDATE replication_policy SET dest_namespace_replace_count=-1 WHERE dest_namespace IS NULL;