dotkernel / api

DotKernel's PSR-7 REST style API built around the Mezzio API skeleton.
https://docs.dotkernel.org/api-documentation/
MIT License
26 stars 4 forks source link

GHA for validating the database schema #292

Open MarioRadu opened 1 week ago

MarioRadu commented 1 week ago

We should consider adding a new github action that will validate the database structure using doctrine's command :

php bin/doctrine orm:validate-schema --skip-sync The --skip-sync option it's required here because we sync the database using migration files and running tjhe command without it will result in an error.