lib/baza/driver/mysql/database.rb in baza-0.0.25 vs lib/baza/driver/mysql/database.rb in baza-0.0.26
- old
+ new
@@ -44,11 +44,9 @@
return [sql] if args && args[:return_sql]
use { @db.query(sql) }
end
-private
-
def rename(new_name)
new_name = new_name.to_s
@db.databases.create(name: new_name)
tables.each do |table|