-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
technical debtMonitor technical issuesMonitor technical issuestopic: toolingRelated to the tools of the development environmentRelated to the tools of the development environment
Milestone
Description
Is your feature request related to a problem? Please describe.
We realized during #250 that the schema of the database wasn't synchronized with the entities. This shouldn't happen as it could generate weird issues difficult to debug.
Also, it can happen that developers add a file that shouldn't be, like a SQL dump file :)
Describe the solution you'd like
Add two checks on the CI:
- the first must run the
console make:migrationcommand and fail if a file is generated. - the second must check for the presence of any
*.sql,*dump*, or.env*files and fail if it detects one which isn't in a safe list (such as/.env.examplefor instance)
Describe alternatives you've considered
N/A
Additional context
N/A
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
technical debtMonitor technical issuesMonitor technical issuestopic: toolingRelated to the tools of the development environmentRelated to the tools of the development environment