diff options
author | Marcel Molina <marcel@vernix.org> | 2005-10-12 19:55:46 +0000 |
---|---|---|
committer | Marcel Molina <marcel@vernix.org> | 2005-10-12 19:55:46 +0000 |
commit | f0b2b637ea9b7133fce95f1fc10eec6b1c7304d9 (patch) | |
tree | 9de4101cc210b7e8dbbb4b1d1c3e0dbebeef3fce /activerecord/test/fixtures/db_definitions/mysql.sql | |
parent | de42f26df787af135baef65f59aa145873714aa5 (diff) | |
download | rails-f0b2b637ea9b7133fce95f1fc10eec6b1c7304d9.tar.gz rails-f0b2b637ea9b7133fce95f1fc10eec6b1c7304d9.tar.bz2 rails-f0b2b637ea9b7133fce95f1fc10eec6b1c7304d9.zip |
Add test coverage for customized primary keys including a failing test for #2444.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2540 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 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/test/fixtures/db_definitions/mysql.sql b/activerecord/test/fixtures/db_definitions/mysql.sql index 393a6e808e..d9b98042ae 100755 --- a/activerecord/test/fixtures/db_definitions/mysql.sql +++ b/activerecord/test/fixtures/db_definitions/mysql.sql @@ -191,3 +191,9 @@ CREATE TABLE `fk_test_has_fk` ( FOREIGN KEY (`fk_id`) REFERENCES `fk_test_has_pk`(`id`) ) TYPE=InnoDB; + + +CREATE TABLE `keyboards` ( + `key_number` int(11) NOT NULL auto_increment primary key, + `name` varchar(50) default NULL +); |