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 = [ 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 (