1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-22 21:09:36 +02:00

Pushed version 1.7.1

This commit is contained in:
Paweł Malak 2021-10-22 16:10:38 +02:00
parent 4ef9652ede
commit 98924ac006
4 changed files with 5 additions and 9 deletions

View file

@ -1,5 +1,3 @@
const { DataTypes } = require('sequelize');
const { INTEGER, DATE, STRING, TINYINT, FLOAT, TEXT } = DataTypes;
const { readFile, writeFile, copyFile } = require('fs/promises');
const Config = require('../../models/Config');
@ -28,12 +26,10 @@ const up = async (query) => {
const newConfig = JSON.stringify(parsedNewConfig);
await writeFile('data/config.json', newConfig);
// await query.dropTable('config');
await query.dropTable('config');
};
const down = async (query) => {
// await query.dropTable('config');
};
const down = async (query) => {};
module.exports = {
up,