Jeremy, I noticed that column comments show up in the annotations from sequel-annotate gem which is awesome! However, table-level SQL comments do not seem to make it through to the model annotations, and I don't see any specs that include table comments either here: https://github.com/jeremyevans/sequel-annotate/blob/master/spec/sequel-annotate_spec.rb So I'm assuming it's not currently supported.
Is this a feature that sequel-annotate could support? I could try implementing it and submitting a PR if you think yes, and any pointers in the right direction as always would be very helpful. Thank you! On Fri, Feb 26, 2021 at 3:32 PM Mark Allen <[email protected]> wrote: > Yep that does it. Had to make some broader changes since > DB.extension(:pg_comment) was invoked outside of migrations since it has > non-migration methods, such as DB.comment_for(:users__dob), to return the > comment for users.dob. > > I think it's good to do now. Thanks > > On Fri, Feb 26, 2021 at 2:16 PM Jeremy Evans <[email protected]> > wrote: > >> On Fri, Feb 26, 2021 at 11:13 AM Mark Allen <[email protected]> wrote: >> >>> Spoke a little too soon, when I move the previous code from inline @ the >>> top of my migration file, into the actual gem, there's what I assume is a >>> load-order issue. Seems like the gem is being loaded before >>> Sequel::MigrationReverser is defined, so the reverser is not being >>> updated obviously because of this condition if defined?(Sequel:: >>> MigrationReverser) >>> >> >> Use: >> >> Sequel.extension :migration >> >> before: >> >> Sequel.extension :your_extension_name >> >> Thanks, >> Jeremy >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "sequel-talk" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/sequel-talk/EpAe_N__FeU/unsubscribe. >> To unsubscribe from this group and all its topics, send an email to >> [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/sequel-talk/CADGZSSdK%3DZrJQukhZ3riUScgz-6Hr13CKmgHE7buu4_YRJwqUQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/sequel-talk/CADGZSSdK%3DZrJQukhZ3riUScgz-6Hr13CKmgHE7buu4_YRJwqUQ%40mail.gmail.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > > *Mark Allen, *Vice President, Engineering, Vydia, Inc. > > Website: vydia.com > > <https://linkedin.com/in/markivanallen> > <https://facebook.com/vydiaofficial> <https://twitter.com/vydiaofficial> > -- *Mark Allen, *Vice President, Engineering, Vydia, Inc. Website: vydia.com <https://linkedin.com/in/markivanallen> <https://facebook.com/vydiaofficial> <https://twitter.com/vydiaofficial> -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sequel-talk/CA%2B%2BobE_cV1U%2ByTvcrihbgVVwi9JCiX1Qs5bWr%2BudkicX0pKoMg%40mail.gmail.com.
