lib/baza/driver/mysql/database.rb in baza-0.0.33 vs lib/baza/driver/mysql/database.rb in baza-0.0.34
- old
+ new
@@ -57,9 +57,11 @@
@db.query(sql_i)
end
end
end
+private
+
def rename(new_name)
new_name = new_name.to_s
@db.databases.create(name: new_name)
tables.each do |table|