golang-migrate / migrate

Database migrations. CLI and Golang library.
Other
14.48k stars 1.34k forks source link

Support comments in MongoDB migrations #1108

Open bart1024 opened 3 weeks ago

bart1024 commented 3 weeks ago

Is your feature request related to a problem? Please describe. Code comments are a basic feature present in every programming language. MongoDB migrations are written in JSON format. That's why one can't simply write comments to make the migration code more readable. It might be super handy to provide some context, examples, and notes for a complex migration script.

Describe the solution you'd like Support JSON extension like JSONC or JSON5.

Describe alternatives you've considered

Additional context