kaps_app/db/migrate/20200112112644_create_p_friend_kaps.rb
2020-01-12 20:41:57 +01:00

11 lines
269 B
Ruby

class CreatePFriendKaps < ActiveRecord::Migration
def change
create_table :p_friend_kaps do |t|
t.references :kap, index: true, foreign_key: true
t.references :p_friend, index: true, foreign_key: true
t.timestamps null: false
end
end
end