Re: Postgres - how to reference a schema in a model definition?

2018-04-08 Thread Jeremy Evans
On Sunday, April 8, 2018 at 5:05:39 PM UTC-7, Greg Gilbert wrote: > > Hey, > > Following up on my last message (which I closed myself), I'm looking to > create a class that extends Sequel::Model and uses the schema in a > connection. > > Here's an example: > > MyDB = Sequel.connect( >

Postgres - how to reference a schema in a model definition?

2018-04-08 Thread Greg Gilbert
Hey, Following up on my last message (which I closed myself), I'm looking to create a class that extends Sequel::Model and uses the schema in a connection. Here's an example: MyDB = Sequel.connect( adapter: 'postgres', host: ENV['MYDB_HOST'], po