提交 bcb466c5 编写于 作者: A Akira Matsuda

No need to pass options which is never used

上级 d8f49888
......@@ -161,7 +161,7 @@ def create_table(table_name, options = {})
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 @@ def rename_table(table_name, new_name)
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册