Actually, nevermind, I figured it out:

    create_table(Sequel[:foo][:account]) do

That notation isn't really documented anywhere; I had to dig into the tests 
to find it.

On Sunday, April 8, 2018 at 7:30:35 PM UTC-4, Greg Gilbert wrote:
> Hey,
> Quick question: how do I create a table within a schema in migrations?
> This doesn't work:
>     DB.create_schema(:foo)
>     create_table(:"foo.account") do
>       # stuff
>     end
> I tried doing create_table(:account, schema: :foo) and that doesn't do 
> anything either. Any ideas?
> Thanks,
> Greg

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 post to this group, send email to
Visit this group at
For more options, visit

Reply via email to