From 09a1e662f93456156b8906e6e69f5880678bc0dc Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Tue, 15 Sep 2015 17:37:00 +0800 Subject: Changed db schema, table "note", column "title", type from "character varying(256)" to "text". To make very long title possible --- hackmd_schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- cgit v1.2.3