diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-03 08:52:59 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-07-03 08:52:59 +0000 |
commit | df95128e9402feb1fc08b4ac45db73daa2edade3 (patch) | |
tree | c73ba67b0097bc9383b9454e016a78da506a7a7b /activerecord/test/fixtures/db_definitions/mysql.sql | |
parent | 38e0862c816f45292ca1b78011588e1f56b95850 (diff) | |
download | rails-df95128e9402feb1fc08b4ac45db73daa2edade3.tar.gz rails-df95128e9402feb1fc08b4ac45db73daa2edade3.tar.bz2 rails-df95128e9402feb1fc08b4ac45db73daa2edade3.zip |
Fixed that has_and_belongs_to_many didn't respect single table inheritance types #1081 [Florian Weber]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1641 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/fixtures/db_definitions/mysql.sql')
-rwxr-xr-x | activerecord/test/fixtures/db_definitions/mysql.sql | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/mysql.sql b/activerecord/test/fixtures/db_definitions/mysql.sql index cb589bec6f..d1d65194cb 100755 --- a/activerecord/test/fixtures/db_definitions/mysql.sql +++ b/activerecord/test/fixtures/db_definitions/mysql.sql @@ -45,6 +45,7 @@ CREATE TABLE `developers` ( CREATE TABLE `projects` ( `id` int(11) NOT NULL auto_increment, `name` varchar(100) default NULL, + `type` VARCHAR(255) NOT NULL, PRIMARY KEY (`id`) ) TYPE=InnoDB; |