You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
deftables(name=nil)tables=[]execute("SHOW TABLES",name).eachdo |field|
tables << field.firstendtablesenddeftable_exists?(name)returntrueifsupername=name.to_sschema,table=name.split('.',2)unlesstable# A table was provided without a schematable=schemaschema=nilendtables(nil,schema).include?tableend
As you see #table_exists? calls #tables with 2 parameters.
The text was updated successfully, but these errors were encountered:
I can't migrate database.
Using version
0.0.2
.Backtrace:
From source code:
As you see
#table_exists?
calls#tables
with 2 parameters.The text was updated successfully, but these errors were encountered: