mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
No need to pass options which is never used
This commit is contained in:
@@ -161,7 +161,7 @@ module ActiveRecord
|
||||
yield td if block_given?
|
||||
|
||||
if options[:force] && table_exists?(table_name)
|
||||
drop_table(table_name, options)
|
||||
drop_table(table_name)
|
||||
end
|
||||
|
||||
create_sql = "CREATE#{' TEMPORARY' if options[:temporary]} TABLE "
|
||||
@@ -253,7 +253,7 @@ module ActiveRecord
|
||||
end
|
||||
|
||||
# Drops a table from the database.
|
||||
def drop_table(table_name, options = {})
|
||||
def drop_table(table_name)
|
||||
execute "DROP TABLE #{quote_table_name(table_name)}"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user