Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
chore: drop shortcut
Steven71ee299de7e1
diff --git a/server/version/version.go b/server/version/version.goindex 9b3833b16..82c89b85c 100644--- a/server/version/version.go+++ b/server/version/version.go@@ -12,7 +12,7 @@ import (var Version = "0.15.2"// DevVersion is the service current development version.-var DevVersion = "0.15.2"+var DevVersion = "0.16.0"func GetCurrentVersion(mode string) string {if mode == "dev" || mode == "demo" {diff --git a/store/db/migration/dev/LATEST__SCHEMA.sql b/store/db/migration/dev/LATEST__SCHEMA.sqlindex a3a909f19..029bc40e9 100644--- a/store/db/migration/dev/LATEST__SCHEMA.sql+++ b/store/db/migration/dev/LATEST__SCHEMA.sql@@ -59,17 +59,6 @@ CREATE TABLE memo_organizer (UNIQUE(memo_id, user_id));--- shortcut-CREATE TABLE shortcut (- id INTEGER PRIMARY KEY AUTOINCREMENT,- creator_id INTEGER NOT NULL,- created_ts BIGINT NOT NULL DEFAULT (strftime('%s', 'now')),- updated_ts BIGINT NOT NULL DEFAULT (strftime('%s', 'now')),- row_status TEXT NOT NULL CHECK (row_status IN ('NORMAL', 'ARCHIVED')) DEFAULT 'NORMAL',- title TEXT NOT NULL DEFAULT '',- payload TEXT NOT NULL DEFAULT '{}'-);--- resourceCREATE TABLE resource (id INTEGER PRIMARY KEY AUTOINCREMENT,diff --git a/store/db/migration/prod/0.16/00__add_memo_id_to_resource.sql b/store/db/migration/prod/0.16/00__add_memo_id_to_resource.sqlindex a4d780bca..5af8ad632 100644--- a/store/db/migration/prod/0.16/00__add_memo_id_to_resource.sql+++ b/store/db/migration/prod/0.16/00__add_memo_id_to_resource.sql@@ -8,6 +8,6 @@ SET memo_id = (LIMIT 1);-DROP TABLE memo_resource;-CREATE INDEX idx_resource_memo_id ON resource (memo_id);++DROP TABLE IF EXISTS memo_resource;diff --git a/store/db/migration/prod/0.16/01__drop_shortcut_table.sql b/store/db/migration/prod/0.16/01__drop_shortcut_table.sqlnew file mode 100644index 000000000..d830a5b47--- /dev/null+++ b/store/db/migration/prod/0.16/01__drop_shortcut_table.sql@@ -0,0 +1 @@+DROP TABLE IF EXISTS shortcut;