mirror of
https://github.com/fosrl/pangolin.git
synced 2025-05-12 21:30:35 +01: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 { sql } from "drizzle-orm";
|
||||
|
||||
const version = "1.0.0-beta.13";
|
||||
|
||||
export default async function migration() {
|
||||
console.log("Running setup script 1.0.0-beta.13...");
|
||||
console.log(`Running setup script ${version}...`);
|
||||
|
||||
try {
|
||||
db.transaction((trx) => {
|
||||
|
@ -27,5 +29,5 @@ export default async function migration() {
|
|||
throw e;
|
||||
}
|
||||
|
||||
console.log("Done.");
|
||||
console.log(`${version} migration complete`);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue