From ea654654226924f9b900e7981fdbdbd452ca15d8 Mon Sep 17 00:00:00 2001 From: Jamis Buck Date: Sun, 25 Sep 2005 15:49:35 +0000 Subject: Standardize the interpretation of boolean columns in the Mysql and Sqlite adapters. (Use MysqlAdapter.emulate_booleans = false to disable this behavior) git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2335 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 d581ee3ae8..393a6e808e 100755 --- a/activerecord/test/fixtures/db_definitions/mysql.sql +++ b/activerecord/test/fixtures/db_definitions/mysql.sql @@ -26,7 +26,7 @@ CREATE TABLE `topics` ( `bonus_time` time default NULL, `last_read` date default NULL, `content` text, - `approved` tinyint(1) default 1, + `approved` tinyint default 1, `replies_count` int(11) default 0, `parent_id` int(11) default NULL, `type` varchar(50) default NULL, @@ -190,4 +190,4 @@ CREATE TABLE `fk_test_has_fk` ( `fk_id` INTEGER NOT NULL, FOREIGN KEY (`fk_id`) REFERENCES `fk_test_has_pk`(`id`) -) TYPE=InnoDB; \ No newline at end of file +) TYPE=InnoDB; -- cgit v1.2.3