mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
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
This commit is contained in:
@@ -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 @@ module ActiveRecord
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user