feat: add initial migrations
This commit is contained in:
@@ -7,5 +7,4 @@ export default registerAs('database', () => ({
|
||||
password: process.env.DATABASE_PASS,
|
||||
name: process.env.DATABASE_NAME,
|
||||
autoLoad: process.env.DATABASE_AUTOLOAD === 'true' ? true : false,
|
||||
synchronize: process.env.DATABASE_SYNC === 'true' ? true : false,
|
||||
}));
|
||||
|
||||
@@ -10,7 +10,6 @@ export default Joi.object({
|
||||
DATABASE_PASS: Joi.string().required(),
|
||||
DATABASE_NAME: Joi.string().required(),
|
||||
DATABASE_AUTOLOAD: Joi.boolean().default('true'),
|
||||
DATABASE_SYNC: Joi.boolean().default('true'),
|
||||
JWT_ACCESS_SECRET: Joi.string().required(),
|
||||
JWT_ACCESS_TTL: Joi.number().required(),
|
||||
JWT_REFRESH_SECRET: Joi.string().required(),
|
||||
|
||||
Reference in New Issue
Block a user