mirror of
https://github.com/Redume/Kekkai.git
synced 2025-02-23 04:33:11 +03:00
Теперь при запуске одного из JS сервисов, будет создаваться таблицы, если их нет
This commit is contained in:
parent
9443efae46
commit
a6c2dc7b06
3 changed files with 18 additions and 0 deletions
|
@ -2,6 +2,8 @@ const logger = require('../shared/logger/src/main.js');
|
|||
const config = require('../shared/config/src/main.js')();
|
||||
const fs = require('fs');
|
||||
|
||||
require('../shared/database/src/create_table.js')();
|
||||
|
||||
const fastify = require('fastify')({
|
||||
logger: config['server']['log']['print'] ? logger : false,
|
||||
...(config['server']['ssl']['work']
|
||||
|
|
Loading…
Add table
Reference in a new issue