mirror of
https://github.com/laurent22/joplin.git
synced 2026-06-18 20:16:34 +02:00
7 lines
184 B
TypeScript
7 lines
184 B
TypeScript
import { DbConnection, dropTables, migrateLatest } from '../../db';
|
|
|
|
export default async function clearDatabase(db: DbConnection) {
|
|
await dropTables(db);
|
|
await migrateLatest(db);
|
|
}
|