blob: e0e435476fd6c14a2f7ca6603426f7ced450a55a (
plain) (
blame)
1
2
3
4
5
6
7
|
import "reflect-metadata";
import { createConnection } from "typeorm";
// UUID extension option is only supported with postgres
// We want to generate all id's with Snowflakes that's why we have our own BaseEntity class
createConnection({ type: "sqlite", database: "database.db", entities: [], synchronize: true, logging: true });
|