Postgres schemas as rails envs


#1

Played around with rails on mysql a little bit. Now I’m looking at rails
on postgres, and
postgres has schemas. Wondering if it’s appropriate to create schemas
for my three db
evironments (development, test, production) rather than separate dbs?

b


#2

You could, but I don’t really see any reason to. Testing
automatically creates the test database obviously, and I assume
eventually you’ll deploy to a different machine than you develop/test
on. In this case you’ll have separate DBs anyway.

Don’t know how well Rails supports schemas, I haven’t looked into it
because I’ve had no need for it. If it ain’t broke, don’t fix it I
guess.

Pat