Sha256: f5e64f10c8fa8b37bee2adacf53a1648f2206af6e7ca4dd68cdc98dcffe2fda0

Contents?: true

Size: 254 Bytes

Versions: 26

Compression:

Stored size: 254 Bytes

Contents

class CreateRoleUsers < ActiveRecord::Migration[6.0]
  def change
    create_table :role_users 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

26 entries across 26 versions & 1 rubygems

Version Path
thecore_auth_commons-3.0.4 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-3.0.3 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-3.0.0 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.4.0 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.3.9 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.3.8 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.3.7 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.3.6 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.3.5 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.3.4 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.3.3 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.3.2 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.3.1 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.3.0 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-0 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.2.9 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.2.8 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.2.6 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.2.5 db/migrate/20200306152816_create_role_users.rb
thecore_auth_commons-2.2.2 db/migrate/20200306152816_create_role_users.rb