サクサク読めて、アプリ限定の機能も多数!
data migration を db/migrate/ に書いてはいけない。 1. 将来的にモデルに変更があったときに困る 2. rake db:schema:load などは migration を素通りする 3. テーブルのデータが巨大な場合、 deploy 時に支障がある
morygonzalez のブックマーク 2016/02/20 00:18
Data Migrations in Rails[rails][activerecord][migration]data migration を db/migrate/ に書いてはいけない。 1. 将来的にモデルに変更があったときに困る 2. rake db:schema:load などは migration を素通りする 3. テーブルのデータが巨大な場合、 deploy 時に支障がある2016/02/20 00:18
このブックマークにはスターがありません。 最初のスターをつけてみよう!
thoughtbot.com2015/12/09
Every now and again we need to change actual data in the production database. The first obvious option that comes to mind is to use a Rails migration, especially since the word “migration” is alrea...
13 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /
data migration を db/migrate/ に書いてはいけない。 1. 将来的にモデルに変更があったときに困る 2. rake db:schema:load などは migration を素通りする 3. テーブルのデータが巨大な場合、 deploy 時に支障がある
morygonzalez のブックマーク 2016/02/20 00:18
このブックマークにはスターがありません。
最初のスターをつけてみよう!
Data Migrations in Rails
thoughtbot.com2015/12/09
Every now and again we need to change actual data in the production database. The first obvious option that comes to mind is to use a Rails migration, especially since the word “migration” is alrea...
13 人がブックマーク・1 件のコメント
\ コメントが サクサク読める アプリです /