modified: src/db/index.ts
deleted: src/db/seed.test.ts deleted: src/db/seed.ts
This commit is contained in:
1 parent
4bbe4162c4
commit
ed923b9363
3 files changed
+1
-249
No files matched your search
+1
-3
@@ -7,7 +7,6 @@ import { PickList } from '../models/PickList';
|
||||
import { Product } from '../models/Product';
|
||||
import { ImportExportLog } from '../models/ImportExportLog';
|
||||
import { applyMigrations } from './migrations';
|
||||
import { seedDatabase } from './seed';
|
||||
|
||||
export class StockFillDB extends Dexie {
|
||||
products!: Table<Product>;
|
||||
@@ -254,5 +253,4 @@ export const db = new StockFillDB();
|
||||
|
||||
export const initializeDatabase = async () => {
|
||||
await applyMigrations(db);
|
||||
await seedDatabase(db);
|
||||
};
|
||||
};
|
||||
Reference in new issue
Block a user