diff --git a/make/migrations/postgresql/0010_1.9.0_schema.up.sql b/make/migrations/postgresql/0010_1.9.0_schema.up.sql index 709f529cf..767e0e669 100644 --- a/make/migrations/postgresql/0010_1.9.0_schema.up.sql +++ b/make/migrations/postgresql/0010_1.9.0_schema.up.sql @@ -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'; diff --git a/make/migrations/postgresql/0011_1.9.1_schema.up.sql b/make/migrations/postgresql/0011_1.9.1_schema.up.sql new file mode 100644 index 000000000..4943b237d --- /dev/null +++ b/make/migrations/postgresql/0011_1.9.1_schema.up.sql @@ -0,0 +1,2 @@ +ALTER TABLE harbor_user ADD COLUMN password_version varchar(16) Default 'sha256'; +UPDATE harbor_user SET password_version = 'sha1'; \ No newline at end of file diff --git a/make/migrations/postgresql/0011_1.10.0_schema.up.sql b/make/migrations/postgresql/0012_1.10.0_schema.up.sql similarity index 100% rename from make/migrations/postgresql/0011_1.10.0_schema.up.sql rename to make/migrations/postgresql/0012_1.10.0_schema.up.sql