We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If you try to run db:schema:load multiple times, an error is thrown
db:schema:load
DB::Exception: Table <DB>.ar_internal_metadata already exists. **(TABLE_ALREADY_EXISTS)**
It appears that the clickhouse_structure.sql file generated by the clickhouse-activerecord adapter is missing DROP TABLE IF EXISTS statements.
clickhouse_structure.sql
DROP TABLE IF EXISTS
In Rails, db:schema:load is supposed to be idempotent so it could be used to reset the DB in a test or dev environment.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you try to run
db:schema:load
multiple times, an error is thrownIt appears that the
clickhouse_structure.sql
file generated by the clickhouse-activerecord adapter is missingDROP TABLE IF EXISTS
statements.In Rails,
db:schema:load
is supposed to be idempotent so it could be used to reset the DB in a test or dev environment.The text was updated successfully, but these errors were encountered: