Add gitlab:db:dictionary:generate rake task
What does this MR do and why?
Adds the gitlab:db:dictionary:generate rake task and runs it after db:migrate to generate missing database dictionary docs for new tables.
Relates to gitlab-org/database-team/team-tasks#244 (closed)
How to set up and validate locally
- Create a database migration that adds a new table
- Run
bin/rake db:migrate
- You should have a new file
db/docs/<table_name>.yml
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.