magma
magma copied to clipboard
Update schema.init.sh
SET SQL_SAFE_UPDATES = 0;: This allows updates and deletes without any restrictions.
Given that you're running a script to initialize a database, it's common to disable safe updates temporarily, but keep in mind that this can be risky in a production environment if not handled carefully.
both schema init and schema reset fail without SET SQL_SAFE_UPDATES = 0;: