diff --git a/CHANGES.md b/CHANGES.md index d979bb597..5b5050ea7 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -13,8 +13,9 @@ ### :bug: Bugs fixed -- Fixes problem with pan and space [#811](https://github.com/penpot/penpot/issues/811) -- Fixes issue when parsing exponential numbers in paths +- Fix problem with pan and space [#811](https://github.com/penpot/penpot/issues/811) +- Fix issue when parsing exponential numbers in paths +- Remove legacy system user and team [#843](https://github.com/penpot/penpot/issues/843) ### :arrow_up: Deps updates diff --git a/backend/src/app/migrations.clj b/backend/src/app/migrations.clj index b3c579196..18a8917c4 100644 --- a/backend/src/app/migrations.clj +++ b/backend/src/app/migrations.clj @@ -163,6 +163,9 @@ {:name "0051-mod-file-library-rel-table" :fn (mg/resource "app/migrations/sql/0051-mod-file-library-rel-table.sql")} + + {:name "0052-del-legacy-user-and-team" + :fn (mg/resource "app/migrations/sql/0052-del-legacy-user-and-team.sql")} ]) diff --git a/backend/src/app/migrations/sql/0052-del-legacy-user-and-team.sql b/backend/src/app/migrations/sql/0052-del-legacy-user-and-team.sql new file mode 100644 index 000000000..6410b13c6 --- /dev/null +++ b/backend/src/app/migrations/sql/0052-del-legacy-user-and-team.sql @@ -0,0 +1,2 @@ +DELETE FROM team WHERE id = '00000000-0000-0000-0000-000000000000'; +DELETE FROM profile WHERE id = '00000000-0000-0000-0000-000000000000';