Permalink
Browse files

Make add_column use the options hash with the Sqlite Adapter. Closes #…

…6464 [obrie]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5353 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
NZKoz committed Oct 24, 2006
1 parent c089974 commit 53a97e9d610c03024b21d5d87681d98b5ed115bf
Showing with 3 additions and 1 deletion.
  1. +2 −0 activerecord/CHANGELOG
  2. +1 −1 activerecord/lib/active_record/connection_adapters/sqlite_adapter.rb
View
@@ -1,5 +1,7 @@
*SVN*
+* Make add_column use the options hash with the Sqlite Adapter. Closes #6464 [obrie]
+
* Document other options available to migration's add_column. #6419 [grg]
* MySQL: all_hashes compatibility with old MysqlRes class. #6429 [Jeremy Kemper]
@@ -231,7 +231,7 @@ def rename_table(name, new_name)
end
def add_column(table_name, column_name, type, options = {}) #:nodoc:
- super(table_name, column_name, type, options = {})
+ super(table_name, column_name, type, options)
# See last paragraph on http://www.sqlite.org/lang_altertable.html
execute "VACUUM"
end

0 comments on commit 53a97e9

Please sign in to comment.