Skip to content
Browse files

The default value of timestamp column should be `now()` not `now`. (tx

  • Loading branch information...
1 parent 6742dfa commit bc8b16dddc9420b85c1f25b02a6a91571b88b843 @anandology anandology committed Jan 23, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 docs/0.3/tutorial.md
View
2 docs/0.3/tutorial.md
@@ -166,7 +166,7 @@ Using your database engines admin interface, create a simple table in your datab
CREATE TABLE todo (
id serial primary key,
title text,
- created timestamp default now,
+ created timestamp default now(),
done boolean default 'f' );
And an initial row:

0 comments on commit bc8b16d

Please sign in to comment.
Something went wrong with that request. Please try again.