mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-28 21:25:55 +01:00
51eeb098ef
* add creator for robot add the creator for robot creation Signed-off-by: wang yan <wangyan@vmware.com> * resolve comments Signed-off-by: wang yan <wangyan@vmware.com> * fix ut Signed-off-by: wang yan <wangyan@vmware.com> --------- Signed-off-by: wang yan <wangyan@vmware.com>
6 lines
225 B
SQL
6 lines
225 B
SQL
/*
|
|
Add new column creator for robot table to add a new column to record the creator of the robot
|
|
*/
|
|
ALTER TABLE robot ADD COLUMN IF NOT EXISTS creator varchar(255);
|
|
UPDATE robot SET creator = 'unknown' WHERE creator IS NULL;
|