sequelize with ts settings.ts
import {Dialect} from 'sequelize' | |
interface ConnectionConfig { | |
dbname:string; | |
dbUsername:string | |
dbPassword:string | |
dbDialect:Dialect | |
dbSchema?:string | |
dbPort:number | |
dbHost:string | |
localhost:string | |
localPort:number | |
sshHost:string | |
sshPort:number | |
bastionUserName:string | |
batsionKeyPath?:string | |
keyPassphrase?:string | |
migrationsPath:string | |
} | |
// 接続用設定をまとめる。 | |
const connectionConfig:ConnectionConfig = { | |
} | |
export {connectionConfig} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment