CoastalCommitsPastes/server/lib/sequelize.ts

9 lines
194 B
TypeScript
Raw Normal View History

2022-03-06 19:46:59 -05:00
import {Sequelize} from 'sequelize-typescript';
export const sequelize = new Sequelize({
dialect: 'sqlite',
database: 'movies',
storage: ':memory:',
models: [__dirname + '/models']
});