boss_db
boss_db copied to clipboard
Table_exists: expect table name, not model name
- Make API compatible with PostgreSQL adapter
- Make it working when called with schema_migrations
- It generally makes more sense to work with SQL table names, models can be renamed or deleted which would break old migrations.
This fixes #198.
Sorry for premature pull request. This fixes one bug but table_exists
is still broken. I'll reopen it later or at least post what still fails.
This will work now. However it still logs error (in fetch/2
) when table does not exists which is a very minor issue when compared to previous ones.
Guys, without these fixes migrations do not work with mysql adapter at all.
Please consider merging this PR since without it migrations in MySQL won't work.
i have this same error