Sha256: 4d7590db9498d46212db93c96958057b5b50693623860de70a84c41388b7cf70

Contents?: true

Size: 345 Bytes

Versions: 11

Compression:

Stored size: 345 Bytes

Contents

class CreateMksAuthUserRoles < ActiveRecord::Migration[5.2]
  def change
    create_table :mks_auth_user_roles do |t|
      t.string :name, null: false
      t.references :application_module, index: true
      t.timestamps
    end
    add_foreign_key :mks_auth_user_roles, :mks_auth_application_modules, column: :application_module_id
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mks_auth-1.0.14 db/migrate/20161029070807_create_mks_auth_user_roles.rb
mks_auth-1.0.13 db/migrate/20161029070807_create_mks_auth_user_roles.rb
mks_auth-1.0.12 db/migrate/20161029070807_create_mks_auth_user_roles.rb
mks_auth-1.0.11 db/migrate/20161029070807_create_mks_auth_user_roles.rb
mks_auth-1.0.10 db/migrate/20161029070807_create_mks_auth_user_roles.rb
mks_auth-1.0.9 db/migrate/20161029070807_create_mks_auth_user_roles.rb
mks_auth-1.0.8 db/migrate/20161029070807_create_mks_auth_user_roles.rb
mks_auth-1.0.7 db/migrate/20161029070807_create_mks_auth_user_roles.rb
mks_auth-1.0.6 db/migrate/20161029070807_create_mks_auth_user_roles.rb
mks_auth-1.0.5 db/migrate/20161029070807_create_mks_auth_user_roles.rb
mks_auth-1.0.4 db/migrate/20161029070807_create_mks_auth_user_roles.rb