diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2007-01-28 15:45:06 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2007-01-28 15:45:06 +0000 |
commit | 269ad9711ddc179e72cc7da3176893a1dcca1b26 (patch) | |
tree | 0536f985e974993471ed726193b3e609856eda25 /activerecord/test/fixtures | |
parent | 5acea7fc9ca19848733c0a81e0c018bc7388af5e (diff) | |
download | rails-269ad9711ddc179e72cc7da3176893a1dcca1b26.tar.gz rails-269ad9711ddc179e72cc7da3176893a1dcca1b26.tar.bz2 rails-269ad9711ddc179e72cc7da3176893a1dcca1b26.zip |
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
Diffstat (limited to 'activerecord/test/fixtures')
-rwxr-xr-x | activerecord/test/fixtures/db_definitions/mysql.sql | 4 |
1 files changed, 2 insertions, 2 deletions
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; |