summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWu Cheng-Han2015-09-15 17:37:00 +0800
committerWu Cheng-Han2015-09-15 17:37:00 +0800
commit09a1e662f93456156b8906e6e69f5880678bc0dc (patch)
treea008c04eb78b8cdb3d9b470f18e8dc10694ab8bf
parent90ae615236b1ddd434cefb2aeaa3c7c559c05c28 (diff)
Changed db schema, table "note", column "title", type from "character varying(256)" to "text".
To make very long title possible
Diffstat (limited to '')
-rw-r--r--hackmd_schema.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/hackmd_schema.sql b/hackmd_schema.sql
index 139ce15b..ac7d671a 100644
--- a/hackmd_schema.sql
+++ b/hackmd_schema.sql
@@ -37,7 +37,7 @@ CREATE TABLE notes (
id character varying(256) NOT NULL,
owner character varying(256) NOT NULL,
content text,
- title character varying(256),
+ title text,
create_time timestamp without time zone DEFAULT now() NOT NULL,
update_time timestamp without time zone DEFAULT now() NOT NULL
);