Actually, nevermind, I figured it out: DB.create_schema(:foo) 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 sequel-talk+unsubscr...@googlegroups.com. To post to this group, send email to firstname.lastname@example.org. Visit this group at https://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.