-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
When migrating to Rails 6, all our tests stopped working when using multiple databases. It seems "dblint" either generates the wrong query and uses the wrong connection:
DBLINT (0.2ms) SET enable_seqscan = off
DBLINT (0.4ms) EXPLAIN (FORMAT JSON) SELECT "tickets".* FROM "tickets" ORDER BY "tickets"."id" ASC LIMIT $1 [["LIMIT", 1]]
Traceback (most recent call last):
1: from (irb):4
ActiveRecord::StatementInvalid (PG::UndefinedTable: ERROR: relation "tickets" does not exist)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels