diff options
Diffstat (limited to 'activerecord/test/fixtures/db_definitions/sqlite.sql')
-rw-r--r-- | activerecord/test/fixtures/db_definitions/sqlite.sql | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/fixtures/db_definitions/sqlite.sql b/activerecord/test/fixtures/db_definitions/sqlite.sql index 8f89c419a1..edf1e815da 100644 --- a/activerecord/test/fixtures/db_definitions/sqlite.sql +++ b/activerecord/test/fixtures/db_definitions/sqlite.sql @@ -144,14 +144,14 @@ CREATE TABLE 'posts' ( 'id' INTEGER NOT NULL PRIMARY KEY, 'author_id' INTEGER, 'title' VARCHAR(255) NOT NULL, - 'type' VARCHAR(255) NOT NULL, + 'type' VARCHAR(255) DEFAULT NULL, 'body' TEXT NOT NULL ); CREATE TABLE 'comments' ( 'id' INTEGER NOT NULL PRIMARY KEY, 'post_id' INTEGER NOT NULL, - 'type' VARCHAR(255) NOT NULL, + 'type' VARCHAR(255) DEFAULT NULL, 'body' TEXT NOT NULL ); |