luminus

Abhinav 2023-06-07T04:54:11.359219Z

hey, I had a question, does migratus have a limitation where it can only run ddl or dml queries if they are in one file? I tried to create a table and then insert data into it in one migration file, but only the table got created. if I remove the query to create the table, then the data gets inserted. I am using luminus-migrations "0.7.5"

jumar 2023-06-07T05:39:31.088839Z

Did you use --;; to separate statements? https://github.com/yogthos/migratus#multiple-statements

Abhinav 2023-06-07T05:55:32.942629Z

Oh I see. That was the problem, not all my statements had --;; as a separator. Thanks