From 02a4dc352a475ec0c8a937527b6b573d076a02f4 Mon Sep 17 00:00:00 2001 From: AlexSciFier <66871322+AlexSciFier@users.noreply.github.com> Date: Wed, 16 Aug 2023 13:43:23 +0300 Subject: [PATCH 1/2] fix: userId in initial --- server/db/sqlite/migrations/initial.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/server/db/sqlite/migrations/initial.js b/server/db/sqlite/migrations/initial.js index 51e2254..13c3570 100644 --- a/server/db/sqlite/migrations/initial.js +++ b/server/db/sqlite/migrations/initial.js @@ -19,7 +19,8 @@ export default async function (db) { search TEXT, icon TEXT, categoryId INEGER, - created TIMESTAMP DEFAULT CURRENT_TIMESTAMP + created TIMESTAMP DEFAULT CURRENT_TIMESTAMP, + userId INTEGER )`, `CREATE TABLE IF NOT EXISTS bookmarkPosition ( @@ -38,7 +39,8 @@ export default async function (db) { `CREATE TABLE IF NOT EXISTS category ( id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT, - color TEXT + color TEXT, + userId INTEGER )`, `CREATE TABLE IF NOT EXISTS categoryPosition ( @@ -48,7 +50,8 @@ export default async function (db) { `CREATE TABLE IF NOT EXISTS tags ( id INTEGER PRIMARY KEY AUTOINCREMENT, - name TEXT + name TEXT, + userId INTEGER )`, `CREATE TABLE IF NOT EXISTS users ( From 80018f0daa69d453143f03a0b45bf25e3ea01efc Mon Sep 17 00:00:00 2001 From: AlexSciFier <66871322+AlexSciFier@users.noreply.github.com> Date: Wed, 16 Aug 2023 13:44:27 +0300 Subject: [PATCH 2/2] change version --- frontend/src/helpers/constants.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/helpers/constants.js b/frontend/src/helpers/constants.js index f2f5e82..2d15431 100644 --- a/frontend/src/helpers/constants.js +++ b/frontend/src/helpers/constants.js @@ -1,5 +1,5 @@ export const APP_NAME = "NeonLink"; -export const VERSION = "1.4.0"; +export const VERSION = "1.4.2"; export const DEF_MAX_ITEMS = 20; export const DEF_COLUMNS = 3; export const CARD_HEADER_STYLE = [