From 874378869d374110b1687b63a3e5579135ee7952 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 15 Apr 2021 11:12:52 +0200 Subject: [PATCH] :fire: Remove legacy system user and team. --- CHANGES.md | 5 +++-- backend/src/app/migrations.clj | 3 +++ .../src/app/migrations/sql/0052-del-legacy-user-and-team.sql | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 backend/src/app/migrations/sql/0052-del-legacy-user-and-team.sql diff --git a/CHANGES.md b/CHANGES.md index d979bb5973..5b5050ea77 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 b3c5791962..18a8917c4c 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 0000000000..6410b13c64 --- /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';