4sh / datamaintain

One tool to maintain all your database schemas!
Apache License 2.0
25 stars 6 forks source link

Error on finding identifier but script is executed #182

Open Lysoun opened 2 years ago

Lysoun commented 2 years ago

When there is no group in the identifier regex, Datamaintain does not throw any error but still executes the script without logging the executed script in the database. Datamaintain gave me the following logs:

start execution of script 1_insert-charmander.js
No group 1

An error should be thrown instead and no script should be executed.