[LRUG] Initial migration for new Rails 4 project using existing postgres db

gvim gvimrc at gmail.com
Thu Mar 17 07:49:43 PDT 2016


On 17/03/2016 09:57, Andrew Premdas wrote:
> using pg_create or the rails rake task. Also I'd recommend setting
>
> `Rails.application.config.active_record.schema_format` to :sql in
> application.rb
>

Yes, this is what I did and decided to just use db/structure.sql as the 
starting point for future migrations.

gvim



More information about the Chat mailing list