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:
parent
4ef9652ede
commit
98924ac006
4 changed files with 5 additions and 9 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue