On Mon, Aug 23, 2021 at 10:41 AM Drew Breunig <[email protected]> wrote:

> I appreciate that :generated is being included in column schema hashes, as
> of 5.31.0.
>
> Are there any plans to add creating generated columns in migrations? Or
> does this exist as an extension and my Googling/research efforts are
> failing?
>

The :generated_always_as column option can be used to specify the
generation expression to used for generated columns.  It's documented here:
http://sequel.jeremyevans.net/rdoc/classes/Sequel/Schema/CreateTableGenerator.html#method-i-column

Thanks,
Jeremy

-- 
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/CADGZSSdm5JmYDvZ17GNhY22XtKvoAxBXyLbmTRh%2BfsrgXO0mQQ%40mail.gmail.com.

Reply via email to