-
Notifications
You must be signed in to change notification settings - Fork 483
New issue
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
column "table_rows" does not exist #345
Comments
This happens to us also. I think it may have something to do with the way schema_plus interacts with database_cleaner |
No scherma plus for me. |
+1 |
1 similar comment
+1 |
+1 With Postgres. Also have pg, postgres_ext, schema_plus gems. I get the issue on 1.4.1 and 1.4.0. We had upgraded to 1.4.1 as part of a Rails 3 -> 4 upgrade. I downgraded database_cleaner to 1.3.0 and this error went away. |
lock the db cleaner gem till this is fixed, DatabaseCleaner/database_cleaner#345
Also getting this. I'm not familiar with the inner workings of database_cleaner, but it looks like the problem is https://github.com/DatabaseCleaner/database_cleaner/blob/master/lib/database_cleaner/active_record/deletion.rb#L57 (introduced by 81ca465). |
Actually looks like this is to do with SchemaPlus (+ maybe other similar gems). From a rails app using PG:
That's triggering the |
Just use database_cleaner with Postgres and
DatabaseCleaner.strategy = :deletion
.Version 1.4.1 is affected, version 1.4.0 I don't know. Version 1.3.0 is working fine.
The text was updated successfully, but these errors were encountered: