Connect Sequelize to Database
const db = new Sequelize('postgres://localhost:3000/yourDatabaseNameHere')
//^ Our protocol ^Path to DB ^Database name
Connect Sequelize to Database
const db = new Sequelize('postgres://localhost:3000/yourDatabaseNameHere')
//^ Our protocol ^Path to DB ^Database name
connect existing database with sequelize
sequelize-auto -h <host> -d <database> -u <user> -x [password] -p [port] --dialect [dialect] -c [/path/to/config] -o [/path/to/models] -t [tableName] -C
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us