mirror of
https://github.com/usememos/memos.git
synced 2025-02-01 01:58:14 +08:00
chore: upgrade version to 0.9.0
(#835)
This commit is contained in:
parent
f6039f2eb9
commit
119603da5d
3 changed files with 15 additions and 2 deletions
|
@ -7,10 +7,10 @@ import (
|
|||
|
||||
// Version is the service current released version.
|
||||
// Semantic versioning: https://semver.org/
|
||||
var Version = "0.8.3"
|
||||
var Version = "0.9.0"
|
||||
|
||||
// DevVersion is the service current development version.
|
||||
var DevVersion = "0.8.3"
|
||||
var DevVersion = "0.9.0"
|
||||
|
||||
func GetCurrentVersion(mode string) string {
|
||||
if mode == "dev" {
|
||||
|
|
6
store/db/migration/prod/0.9/00__tag.sql
Normal file
6
store/db/migration/prod/0.9/00__tag.sql
Normal file
|
@ -0,0 +1,6 @@
|
|||
-- tag
|
||||
CREATE TABLE tag (
|
||||
name TEXT NOT NULL,
|
||||
creator_id INTEGER NOT NULL,
|
||||
UNIQUE(name, creator_id)
|
||||
);
|
|
@ -86,3 +86,10 @@ CREATE TABLE memo_resource (
|
|||
updated_ts BIGINT NOT NULL DEFAULT (strftime('%s', 'now')),
|
||||
UNIQUE(memo_id, resource_id)
|
||||
);
|
||||
|
||||
-- tag
|
||||
CREATE TABLE tag (
|
||||
name TEXT NOT NULL,
|
||||
creator_id INTEGER NOT NULL,
|
||||
UNIQUE(name, creator_id)
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue