فهرست منبع

Pushed version 1.7.1

Paweł Malak 3 سال پیش
والد
کامیت
98924ac006
4فایلهای تغییر یافته به همراه5 افزوده شده و 9 حذف شده
  1. 1 1
      .env
  2. 1 1
      CHANGELOG.md
  3. 1 1
      client/.env
  4. 2 6
      db/migrations/01_new-config.js

+ 1 - 1
.env

@@ -1,3 +1,3 @@
 PORT=5005
 NODE_ENV=development
-VERSION=1.7.0
+VERSION=1.7.1

+ 1 - 1
CHANGELOG.md

@@ -1,4 +1,4 @@
-### v1.7.1 (TBA)
+### v1.7.1 (2021-10-22)
 - Fixed search action not being triggered by Numpad Enter
 - Added option to change date formatting ([#92](https://github.com/pawelmalak/flame/issues/92))
 - Added shortcuts (Esc and double click) to clear search bar ([#100](https://github.com/pawelmalak/flame/issues/100))

+ 1 - 1
client/.env

@@ -1 +1 @@
-REACT_APP_VERSION=1.7.0
+REACT_APP_VERSION=1.7.1

+ 2 - 6
db/migrations/01_new-config.js

@@ -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,