tag:blogger.com,1999:blog-5317236015572973172.post4369950426528639186..comments2023-08-08T11:51:41.540+02:00Comments on Cornelius' Blog: How to run Rails with PostgreSQL on openSUSE 12.3Cornelius Schumacherhttp://www.blogger.com/profile/07307631039358655025noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-5317236015572973172.post-85623708013233010712013-07-25T15:26:00.244+02:002013-07-25T15:26:00.244+02:00Instead of using using sudo everytime, one could a...Instead of using using sudo everytime, one could also switch to postres user, e.g. by "su -l postgres".<br /><br />To create the db from scratch the migrations should not be used, but <br /><br />rake db:create<br />rake db:setup<br /><br />Above does not create the production DB, this is done by<br /><br />rake db:create:all<br /><br />(http://guides.rubyonrails.org/v3.1.1/migrations.html#what-are-schema-files-for)Anonymoushttps://www.blogger.com/profile/16492652475978791071noreply@blogger.com