From 269ad9711ddc179e72cc7da3176893a1dcca1b26 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sun, 28 Jan 2007 15:45:06 +0000 Subject: MySQL: blob and text columns may not have defaults in 5.x. Update fixtures schema for strict mode. Closes #6695. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/fixtures/db_definitions/mysql.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/test/fixtures/db_definitions') diff --git a/activerecord/test/fixtures/db_definitions/mysql.sql b/activerecord/test/fixtures/db_definitions/mysql.sql index 93b7fada3c..8a56ab2172 100755 --- a/activerecord/test/fixtures/db_definitions/mysql.sql +++ b/activerecord/test/fixtures/db_definitions/mysql.sql @@ -176,8 +176,8 @@ CREATE TABLE `authors` ( CREATE TABLE `tasks` ( `id` int(11) NOT NULL auto_increment, - `starting` datetime NOT NULL default '0000-00-00 00:00:00', - `ending` datetime NOT NULL default '0000-00-00 00:00:00', + `starting` datetime NOT NULL default '1000-01-01 00:00:00', + `ending` datetime NOT NULL default '1000-01-01 00:00:00', PRIMARY KEY (`id`) ) TYPE=InnoDB; -- cgit v1.2.3