Created
August 21, 2020 11:24
-
-
Save matsuaki-jp/7a90c03e584f6fe1ef1e4754a6a953a5 to your computer and use it in GitHub Desktop.
sequelize with ts settings.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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