Sha256: 57c322f4d280d4663bd7c55f3c36bd58441e772d28fb0cf55d20e7a76d9b3041

Contents?: true

Size: 246 Bytes

Versions: 240

Compression:

Stored size: 246 Bytes

Contents

class CreateMembershipRoles < ActiveRecord::Migration[5.2]
  def change
    create_table :membership_roles do |t|
      t.belongs_to :membership, foreign_key: true
      t.belongs_to :role, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

240 entries across 240 versions & 1 rubygems

Version Path
bullet_train-1.14.0 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.13.0 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.12.3 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.12.2 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.12.1 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.12.0 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.11.0 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.10.0 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.9.0 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.8.5 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.8.4 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.8.3 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.8.2 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.8.1 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.8.0 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.7.23 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.7.22 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.7.21 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.7.20 db/migrate/20180902142350_create_membership_roles.rb
bullet_train-1.7.19 db/migrate/20180902142350_create_membership_roles.rb