Ok, I just tested this in MySQL
the point is compileTableExists fires this query
SELECT 1 FROM information_schema.tablesWHEREtable_name= 'cfmigrations'
if Laur and you are both using the same credentials for your databases you will indeed see each others db. If you would use separate credentials for each db, which is more secure anyway, you will not have this problem
elpete [4:53 PM]
qb doesn’t see the connection string. It just uses it. There may be a way to get it from Java, but I think the easier path is to have hasTable take an optional schema parameter.
Ok, I just tested this in MySQL the point is compileTableExists fires this query
SELECT 1 FROM
information_schema.
tablesWHERE
table_name= 'cfmigrations'
if Laur and you are both using the same credentials for your databases you will indeed see each others db. If you would use separate credentials for each db, which is more secure anyway, you will not have this problemelpete [4:53 PM] qb doesn’t see the connection string. It just uses it. There may be a way to get it from Java, but I think the easier path is to have
hasTable
take an optionalschema
parameter.