Forum: Ruby on Rails postgres schemas as rails envs

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
4005a47a8f2ceee49670b920593c1d52?d=identicon&s=25 Ben Munat (Guest)
on 2006-01-25 23: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?

b
42172acdf3c6046f84d644cb0b94642c?d=identicon&s=25 Pat Maddox (pergesu)
on 2006-01-25 23: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
guess.

Pat
This topic is locked and can not be replied to.