1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05: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:
Michael Koziarski 2006-10-24 07:32:18 +00:00
parent c08997405d
commit 53a97e9d61
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
*SVN* *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] * Document other options available to migration's add_column. #6419 [grg]
* MySQL: all_hashes compatibility with old MysqlRes class. #6429 [Jeremy Kemper] * MySQL: all_hashes compatibility with old MysqlRes class. #6429 [Jeremy Kemper]

View file

@ -231,7 +231,7 @@ module ActiveRecord
end end
def add_column(table_name, column_name, type, options = {}) #:nodoc: 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 # See last paragraph on http://www.sqlite.org/lang_altertable.html
execute "VACUUM" execute "VACUUM"
end end