Files
hereconnect/services/db-migrations/my-migration-template.js
T
ti f1eb121b5e
Main daploy / deploy (push) Successful in 43s
add db-migrations
2024-11-24 23:52:52 +02:00

10 lines
251 B
JavaScript

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 });
};