The install script
- In your package's
script.php, typejinstallerand pick the snippet. - It expands to a thin
Pkg_<Name>InstallerScriptsubclass over a uniquely-named base — so two packages updating together can never hit Cannot redeclare class.
Schema changes
- In a
sql/updatesfile, typejddlfor conditional DDL that avoidsPREPARE/EXECUTE(the cause of SQL error 1295). - Add
jselfhealin the install script for an install+update self-heal hook that applies column/index changes idempotently viainformation_schemachecks.
Part of the Moko VS Code suite.