avram icon indicating copy to clipboard operation
avram copied to clipboard

Migrations should run SQL statements sequentially, not all together.

Open BrucePerens opened this issue 4 years ago • 0 comments

It's difficult to debug migrations because the SQL for an entire file is concatenated into one piece before execution. The error report is on the entire glob of statements, rather than a particular statement, and generally doesn't say anything helpful. I doubt there is any significant speed increase to be had on migrations by executing all statements as one.

BrucePerens avatar Nov 12 '21 05:11 BrucePerens