You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
293 B
TypeScript
13 lines
293 B
TypeScript
import { Sequelize } from "sequelize-typescript";
|
|
import { config } from "./config/config";
|
|
|
|
export const sequelize = new Sequelize({
|
|
username: config.username,
|
|
password: config.password,
|
|
database: config.database,
|
|
host: config.host,
|
|
|
|
dialect: "postgres",
|
|
storage: ":memory:",
|
|
});
|