Sha256: 70033f6bb76c5c09e2fb27c15e1b555f43729bcb49e9ee905b74cab60700b506

Contents?: true

Size: 252 Bytes

Versions: 3

Compression:

Stored size: 252 Bytes

Contents

Sequel.migration do
  change do
    create_table(:influencees_users) do
      foreign_key :user_id, :users, :on_delete => :cascade, :index => true
      foreign_key :influencee_id, :influencees, :on_delete => :cascade, :index => true
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
birdwatcher-0.4.0 db/migrations/015_create_influencees_users.rb
birdwatcher-0.3.1 db/migrations/015_create_influencees_users.rb
birdwatcher-0.1.0 db/migrations/015_create_influencees_users.rb