Commit 71ee299d authored by Steven's avatar Steven

chore: drop shortcut

parent 9d1c9fc5
...@@ -12,7 +12,7 @@ import ( ...@@ -12,7 +12,7 @@ import (
var Version = "0.15.2" var Version = "0.15.2"
// DevVersion is the service current development version. // DevVersion is the service current development version.
var DevVersion = "0.15.2" var DevVersion = "0.16.0"
func GetCurrentVersion(mode string) string { func GetCurrentVersion(mode string) string {
if mode == "dev" || mode == "demo" { if mode == "dev" || mode == "demo" {
......
...@@ -59,17 +59,6 @@ CREATE TABLE memo_organizer ( ...@@ -59,17 +59,6 @@ CREATE TABLE memo_organizer (
UNIQUE(memo_id, user_id) 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 '{}'
);
-- resource -- resource
CREATE TABLE resource ( CREATE TABLE resource (
id INTEGER PRIMARY KEY AUTOINCREMENT, id INTEGER PRIMARY KEY AUTOINCREMENT,
......
...@@ -8,6 +8,6 @@ SET memo_id = ( ...@@ -8,6 +8,6 @@ SET memo_id = (
LIMIT 1 LIMIT 1
); );
DROP TABLE memo_resource;
CREATE INDEX idx_resource_memo_id ON resource (memo_id); CREATE INDEX idx_resource_memo_id ON resource (memo_id);
DROP TABLE IF EXISTS memo_resource;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment