mirror of
https://github.com/goharbor/harbor.git
synced 2025-01-03 06:28:06 +01:00
Increase the length the columns (src_resource, dst_resource)of replication_task
Fixes #10786 by increaseing the length of src_resource and dst_resource to 256 Signed-off-by: Wenkai Yin <yinw@vmware.com>
This commit is contained in:
parent
eb2af6095e
commit
ac9658bc1e
@ -200,3 +200,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);
|
||||
|
Loading…
Reference in New Issue
Block a user