api icon indicating copy to clipboard operation
api copied to clipboard

GHA for validating the database schema

Open MarioRadu opened this issue 1 year ago • 2 comments

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.

MarioRadu avatar Jun 20 '24 06:06 MarioRadu

FYI: There already is a WIP branch for this: https://github.com/dotkernel/api/tree/issue-292

alexmerlin avatar Jan 07 '25 12:01 alexmerlin

@MarioRadu please create a PR https://github.com/dotkernel/api/compare/5.0...issue-292

arhimede avatar Jan 08 '25 10:01 arhimede