From 8c85f0cb62af57a730a444fd46e3c8e4c7521fce Mon Sep 17 00:00:00 2001 From: Dessalines Date: Sat, 1 Jun 2019 15:32:06 -0700 Subject: [PATCH] Removing the placeholder admin user. - Fixes #165 --- server/migrations/2019-06-01-222649_remove_admin/down.sql | 1 + server/migrations/2019-06-01-222649_remove_admin/up.sql | 1 + 2 files changed, 2 insertions(+) create mode 100644 server/migrations/2019-06-01-222649_remove_admin/down.sql create mode 100644 server/migrations/2019-06-01-222649_remove_admin/up.sql diff --git a/server/migrations/2019-06-01-222649_remove_admin/down.sql b/server/migrations/2019-06-01-222649_remove_admin/down.sql new file mode 100644 index 000000000..6178857fa --- /dev/null +++ b/server/migrations/2019-06-01-222649_remove_admin/down.sql @@ -0,0 +1 @@ +insert into user_ (name, fedi_name, password_encrypted) values ('admin', 'TBD', 'TBD'); diff --git a/server/migrations/2019-06-01-222649_remove_admin/up.sql b/server/migrations/2019-06-01-222649_remove_admin/up.sql new file mode 100644 index 000000000..7cec88705 --- /dev/null +++ b/server/migrations/2019-06-01-222649_remove_admin/up.sql @@ -0,0 +1 @@ +delete from user_ where name like 'admin';