Use rails 4.2 defaults for older migrations
This commit is contained in:
parent
784d4ca03d
commit
b606acba0c
95 changed files with 95 additions and 95 deletions
|
@ -1,6 +1,6 @@
|
|||
require "migrate"
|
||||
|
||||
class AddUserForeignKeys < ActiveRecord::Migration[5.0]
|
||||
class AddUserForeignKeys < ActiveRecord::Migration[4.2]
|
||||
def change
|
||||
add_foreign_key :changesets, :users, :name => "changesets_user_id_fkey"
|
||||
add_foreign_key :diary_comments, :users, :name => "diary_comments_user_id_fkey"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue