add db-migrations
Main daploy / deploy (push) Successful in 43s

This commit is contained in:
2024-11-24 23:52:52 +02:00
parent e8dce0cf5e
commit f1eb121b5e
8 changed files with 189 additions and 3 deletions
@@ -0,0 +1,9 @@
import PouchDB from "../PouchDB.js";
export const up = async () => {
await new PouchDB(`${process.env.API_URL}/`, { skip_setup: true });
};
export const down = async () => {
await new PouchDB(`${process.env.API_URL}/`, { skip_setup: true });
};