mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-22 16:48:30 +01:00
Merge pull request #9249 from ninjadq/update_db_migration_for_pswd
Move db change to new migration file
This commit is contained in:
commit
ebd526ce8a
@ -186,5 +186,3 @@ create table notification_policy (
|
||||
ALTER TABLE replication_task ADD COLUMN status_revision int DEFAULT 0;
|
||||
DELETE FROM project_metadata WHERE deleted = TRUE;
|
||||
ALTER TABLE project_metadata DROP COLUMN deleted;
|
||||
ALTER TABLE harbor_user ADD COLUMN password_version varchar(16) Default 'sha256';
|
||||
UPDATE harbor_user SET password_version = 'sha1';
|
||||
|
2
make/migrations/postgresql/0011_1.9.1_schema.up.sql
Normal file
2
make/migrations/postgresql/0011_1.9.1_schema.up.sql
Normal file
@ -0,0 +1,2 @@
|
||||
ALTER TABLE harbor_user ADD COLUMN password_version varchar(16) Default 'sha256';
|
||||
UPDATE harbor_user SET password_version = 'sha1';
|
Loading…
Reference in New Issue
Block a user