Skip to content

Conversation

TomohikoSato
Copy link

Add annotation support for table comment.

It would be useful for many people because table comment is recommended as described in the rails guide.

https://guides.rubyonrails.org/active_record_migrations.html

It's highly recommended to specify comments in migrations for applications with large databases as it helps people to understand data model and generate documentation.

use hash parameter for fixing rubocop error 'Metrics/ParameterLists: Avoid parameter lists longer than 5 parameters. [6/5]'
@ctran
Copy link
Owner

ctran commented Mar 24, 2021

Thanks. Could you post an example with both table and column comments?

@ctran ctran self-assigned this Mar 24, 2021
@ctran ctran added this to the v3.2.0 milestone Mar 24, 2021
@ctran ctran added the feature label Mar 24, 2021
@TomohikoSato
Copy link
Author

TomohikoSato commented Apr 9, 2021

@ctran

Could you post an example with both table and column comments?

OK. added 8195810

I resolved the CI error by cherry-picking 5cc83c6, same as #793 (comment)

@ctran ctran removed this from the v3.2.0 milestone Feb 3, 2022
@ctran ctran changed the title Annotation support for table comment feat: Annotation support for table comment Jun 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants