This commit is contained in:
albert
2013-03-22 10:47:24 -07:00
parent 3e4d149d28
commit 4dcc21a97a
6 changed files with 30 additions and 7 deletions

View File

@@ -1938,7 +1938,8 @@ CREATE TABLE note_versions (
is_active boolean DEFAULT true NOT NULL,
body text NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
updated_at timestamp without time zone NOT NULL,
version integer DEFAULT 0 NOT NULL
);
@@ -1977,7 +1978,8 @@ CREATE TABLE notes (
body text NOT NULL,
body_index tsvector NOT NULL,
created_at timestamp without time zone NOT NULL,
updated_at timestamp without time zone NOT NULL
updated_at timestamp without time zone NOT NULL,
version integer DEFAULT 0 NOT NULL
);
@@ -6269,4 +6271,6 @@ INSERT INTO schema_migrations (version) VALUES ('20130321144736');
INSERT INTO schema_migrations (version) VALUES ('20130322162059');
INSERT INTO schema_migrations (version) VALUES ('20130322173202');
INSERT INTO schema_migrations (version) VALUES ('20130322173202');
INSERT INTO schema_migrations (version) VALUES ('20130322173859');