transform migrations to work with mysql, postgres and sqlite
sqlite currently fails syntax of views
This commit is contained in:
parent
2cee8b5119
commit
a73c712626
29 changed files with 1626 additions and 382 deletions
|
@ -50,7 +50,7 @@ import { CreateSchema1738166167472 } from "./migrations/1738166167472-CreateSche
|
|||
|
||||
const dataSource = new DataSource({
|
||||
type: DB_TYPE as any,
|
||||
host: process.env.NODE_ENV || process.env.DBMODE ? "localhost" : DB_HOST,
|
||||
host: DB_HOST,
|
||||
port: DB_PORT,
|
||||
username: DB_USERNAME,
|
||||
password: DB_PASSWORD,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue