aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-08-10 22:21:25 +0530
committerVipul A M <vipulnsward@gmail.com>2013-08-10 22:21:25 +0530
commit14575893010add4db926c3e8517c360ea62625c2 (patch)
tree1b38289bd440a43c2d4fa46751421a3a62c0c5f5 /activerecord/test
parent4f5f59a492bd32afa476ac6b51ca5295b70fe246 (diff)
downloadrails-14575893010add4db926c3e8517c360ea62625c2.tar.gz
rails-14575893010add4db926c3e8517c360ea62625c2.tar.bz2
rails-14575893010add4db926c3e8517c360ea62625c2.zip
Remove sqlite specific`supports_autoincrement?` which always defaults to true
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/schema/sqlite_specific_schema.rb7
1 files changed, 2 insertions, 5 deletions
diff --git a/activerecord/test/schema/sqlite_specific_schema.rb b/activerecord/test/schema/sqlite_specific_schema.rb
index e9ddeb32cf..b7aff4f47d 100644
--- a/activerecord/test/schema/sqlite_specific_schema.rb
+++ b/activerecord/test/schema/sqlite_specific_schema.rb
@@ -1,9 +1,6 @@
ActiveRecord::Schema.define do
- # For sqlite 3.1.0+, make a table with an autoincrement column
- if supports_autoincrement?
- create_table :table_with_autoincrement, :force => true do |t|
- t.column :name, :string
- end
+ create_table :table_with_autoincrement, :force => true do |t|
+ t.column :name, :string
end
execute "DROP TABLE fk_test_has_fk" rescue nil