Forum: Ruby on Rails postgres schemas as rails envs

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ben M. (Guest)
on 2006-01-26 00:06
(Received via mailing list)
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?

Pat M. (Guest)
on 2006-01-26 00:54
(Received via mailing list)
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

This topic is locked and can not be replied to.