Changed db schema, table "note", column "title", type from "character varying(256)" to "text".

To make very long title possible
This commit is contained in:
Wu Cheng-Han 2015-09-15 17:37:00 +08:00
parent 90ae615236
commit 09a1e662f9

View file

@ -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
);