From e90744e1f9e3a4869ec121f49e80621c2764c806 Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Tue, 21 Dec 2021 02:37:05 +0100 Subject: [PATCH] description migration: 0005-admin_tables --- database/migrations/0005-admin_tables.ts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/database/migrations/0005-admin_tables.ts b/database/migrations/0005-admin_tables.ts index bd325678f..832008970 100644 --- a/database/migrations/0005-admin_tables.ts +++ b/database/migrations/0005-admin_tables.ts @@ -1,12 +1,6 @@ /* MIGRATION FOR ADMIN INTERFACE * - * This migration is special since it takes into account that - * the database can be setup already but also may not be. - * Therefore you will find all `CREATE TABLE` statements with - * a `IF NOT EXISTS`, all `INSERT` with an `IGNORE` and in the - * downgrade function all `DROP TABLE` with a `IF EXISTS`. - * This ensures compatibility for existing or non-existing - * databases. + * This migration adds the table `login_pending_tasks_admin` to store pending creations */ export async function upgrade(queryFn: (query: string, values?: any[]) => Promise>) {