mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 00:46:53 +00:00
16 lines
214 B
TypeScript
16 lines
214 B
TypeScript
// @ts-ignore
|
|
const keys = process.argv;
|
|
|
|
// @ts-ignore
|
|
global.sync = {
|
|
force: false,
|
|
alter: {
|
|
drop: false,
|
|
},
|
|
};
|
|
|
|
// @ts-ignore
|
|
const filename: string = keys.pop();
|
|
|
|
require(`./migrations/${filename}`);
|