Environment Config
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
import 'dotenv/config';
|
||||
|
||||
import { Sequelize, DataTypes } from "sequelize";
|
||||
|
||||
//TODO: Make this configurable
|
||||
const sequelize = new Sequelize("sqlite::memory:");
|
||||
const sequelize = new Sequelize("sqlite::memory:", {
|
||||
logging: process.env.SEQUELIZE_LOGGING === "True" ? console.log : false
|
||||
});
|
||||
|
||||
import { User, AccessRule, APIKey, Password } from "../auth/user/user-model";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user