✨ migrate script
This commit is contained in:
parent
f956caf64e
commit
9e9c3ff57f
@ -8,7 +8,8 @@
|
|||||||
"build": "node scripts/build.js",
|
"build": "node scripts/build.js",
|
||||||
"start": "node scripts/build.js && node dist/bundle/src/start.js",
|
"start": "node scripts/build.js && node dist/bundle/src/start.js",
|
||||||
"start:bundle": "node dist/bundle/src/start.js",
|
"start:bundle": "node dist/bundle/src/start.js",
|
||||||
"test": "echo \"Error: no test specified\" && exit 1"
|
"test": "echo \"Error: no test specified\" && exit 1",
|
||||||
|
"migrate": "node node_modules/typeorm/cli.js -f ../util/ormconfig.json migration:run"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -94,4 +95,4 @@
|
|||||||
"ws": "^7.4.2",
|
"ws": "^7.4.2",
|
||||||
"cheerio": "^1.0.0-rc.10"
|
"cheerio": "^1.0.0-rc.10"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user