mirror of
https://github.com/fosrl/pangolin.git
synced 2025-08-31 06:59:33 +02:00
change migration script text
This commit is contained in:
parent
19273ddbd5
commit
06ceff7427
1 changed files with 4 additions and 2 deletions
|
@ -1,8 +1,10 @@
|
||||||
import db from "@server/db";
|
import db from "@server/db";
|
||||||
import { sql } from "drizzle-orm";
|
import { sql } from "drizzle-orm";
|
||||||
|
|
||||||
|
const version = "1.0.0-beta.13";
|
||||||
|
|
||||||
export default async function migration() {
|
export default async function migration() {
|
||||||
console.log("Running setup script 1.0.0-beta.13...");
|
console.log(`Running setup script ${version}...`);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
db.transaction((trx) => {
|
db.transaction((trx) => {
|
||||||
|
@ -27,5 +29,5 @@ export default async function migration() {
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("Done.");
|
console.log(`${version} migration complete`);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue