From 79202b37dc7566e8b8392a44c461a64469f79a77 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 15 Sep 2007 21:23:05 +0000 Subject: Fixed that altering join tables in migrations would fail w/ sqlite3 #7453 [TimoMihaljov/brandon] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7484 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/test/copy_table_test_sqlite.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'activerecord/test') diff --git a/activerecord/test/copy_table_test_sqlite.rb b/activerecord/test/copy_table_test_sqlite.rb index 6da041522f..a25780e6be 100644 --- a/activerecord/test/copy_table_test_sqlite.rb +++ b/activerecord/test/copy_table_test_sqlite.rb @@ -42,6 +42,10 @@ class CopyTableTest < Test::Unit::TestCase end end + def test_copy_table_without_primary_key + test_copy_table('developers_projects', 'programmers_projects') + end + protected def copy_table(from, to, options = {}) @connection.copy_table(from, to, {:temporary => true}.merge(options)) -- cgit v1.2.3