various fixes of the blog demo.

This commit is contained in:
agentzh (章亦春)
2010-04-12 18:57:03 +08:00
parent dd1d50c2fe
commit 29d0653849
5 changed files with 14 additions and 12 deletions

View File

@ -2,7 +2,7 @@
drop table if exists posts;
create table posts (
id serial,
title varchar(128) not null,
title text not null,
content text not null,
author varchar(64) not null,
created timestamp(0) default now() not null,