Set your database credentials in the .env file in the root directory of this application. Make a copy of .env.example to .env if .env doesn't exist.
Run migrations to create the database tables and procedures:
vendor/bin/phinx migrateThis command is also included in the setup.sh script.
Database changes are version controlled with migrations using Phinx. To create a new migration, run:
vendor/bin/phinx create CreateExampleTableThe migration should be named in way that clearly states what the migration is doing. For example, if you're altering a table by adding a new column, you can run:
vendor/bin/phinx create AddColumnNameToExampleTableAfter creating new migrations, update the database by running:
vendor/bin/phinx migrateFor more information on using Phinx, visit the Phinx Cookbook.