kawadhiya21 / mysql-migrations

A tool to use with mysql package to maintain migrations
MIT License
31 stars 25 forks source link

26 error report file name #34

Open lewismoten opened 2 months ago

lewismoten commented 2 months ago

This issue resolved #26 where file names are now written out to the console since multiple files could have the same SQL queries.

One item of note is that I placed the SQL query itself on the next line afterwards and changed it to gray. If this is an issue, it can be changed to also be green. The main issue was to ensure that the file name appeared next to the type UP or DOWN since the SQL is often a multi-lined statement. In the provided screenshot, the sql command is one line select 1 and in grey.

image