Sha256: 36b31f599aaced3b4f0f7345ae1d00de0e3b44ba622dcc93fb3b9e3cedc61f96

Contents?: true

Size: 275 Bytes

Versions: 17

Compression:

Stored size: 275 Bytes

Contents

class CreateRoleUsers < ActiveRecord::Migration[7.0]
  def change
    create_table :role_users, if_not_exists: true do |t|
      t.references :role, null: false, foreign_key: true
      t.references :user, null: false, foreign_key: true

      t.timestamps
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
thecore_auth_commons-3.2.2 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.2.1 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.1.7 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.1.5 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.1.4 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.1.3 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.1.2 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.1.1 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.1.0 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.0.13 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.0.12 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.0.11 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.0.10 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.0.9 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.0.8 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.0.7 db/migrate/20160209153813_create_role_users.rb
thecore_auth_commons-3.0.6 db/migrate/20160209153813_create_role_users.rb