CoastalCommitsPastes/server/lib/sequelize.ts
2022-03-06 16:46:59 -08:00

8 lines
194 B
TypeScript

import {Sequelize} from 'sequelize-typescript';
export const sequelize = new Sequelize({
dialect: 'sqlite',
database: 'movies',
storage: ':memory:',
models: [__dirname + '/models']
});