Merge pull request #11122 from ywk253100/200318_replication_task

Increase the length the columns (src_resource, dst_resource)of replication_task
This commit is contained in:
Wenkai Yin(尹文开) 2020-03-19 12:16:27 +08:00 committed by GitHub
commit 9ebcf95758
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -202,3 +202,6 @@ ALTER TABLE notification_policy DROP CONSTRAINT unique_project_id;
/*add the unique constraint for name in table 'notification_policy'*/
ALTER TABLE notification_policy ADD UNIQUE (name);
ALTER TABLE replication_task ALTER COLUMN src_resource TYPE varchar(512);
ALTER TABLE replication_task ALTER COLUMN dst_resource TYPE varchar(512);