From 6336db0678dd139a9af25ed367ef8263d0d872bc Mon Sep 17 00:00:00 2001 From: Adam Alton Date: Fri, 27 May 2022 14:50:17 +0100 Subject: [PATCH] chore: remove unnecessary migration for creating admin user Rename the subsequent migration to keep the numbers sequential. Now that we're using support@ rather than admin@ for the admin email address, that user already exists on both staging and prod. --- .../db/postgres/migrations/010-add-admin-user.sql | 12 ------------ ..._used_storage-update-and-email-history-table.sql} | 0 2 files changed, 12 deletions(-) delete mode 100644 packages/db/postgres/migrations/010-add-admin-user.sql rename packages/db/postgres/migrations/{011-user_used_storage-update-and-email-history-table.sql => 010-user_used_storage-update-and-email-history-table.sql} (100%) diff --git a/packages/db/postgres/migrations/010-add-admin-user.sql b/packages/db/postgres/migrations/010-add-admin-user.sql deleted file mode 100644 index 54e2ed1c82..0000000000 --- a/packages/db/postgres/migrations/010-add-admin-user.sql +++ /dev/null @@ -1,12 +0,0 @@ -INSERT INTO public.user ( - email, - name, - issuer, - public_address -) -VALUES ( - 'support@web3.storage', - 'Web3 Storage Admin', - 'Web3 Storage Admin', - 'Web3 Storage Admin' -); diff --git a/packages/db/postgres/migrations/011-user_used_storage-update-and-email-history-table.sql b/packages/db/postgres/migrations/010-user_used_storage-update-and-email-history-table.sql similarity index 100% rename from packages/db/postgres/migrations/011-user_used_storage-update-and-email-history-table.sql rename to packages/db/postgres/migrations/010-user_used_storage-update-and-email-history-table.sql