Browse Source

document what each migration does

pull/1344/head
Bernd Storath 2 years ago
parent
commit
7fd4b792c3
  1. 1
      src/services/database/migrations/index.ts

1
src/services/database/migrations/index.ts

@ -5,6 +5,7 @@ import { run1 } from './1';
export type MIGRATION_FN = (db: Low<Database>) => Promise<void>; export type MIGRATION_FN = (db: Low<Database>) => Promise<void>;
const MIGRATION_LIST = { const MIGRATION_LIST = {
// Adds Initial Database Structure
'1': run1, '1': run1,
} satisfies Record<string, MIGRATION_FN>; } satisfies Record<string, MIGRATION_FN>;

Loading…
Cancel
Save