Sha256: 8e8561486470aca54f1e9fbd0f2d2fc4a77ed45d5a907e796f65b73b30ca71a6

Contents?: true

Size: 327 Bytes

Versions: 7

Compression:

Stored size: 327 Bytes

Contents

class CreateAuthzScopingRules < ActiveRecord::Migration[5.2]
  def change
    create_table :authz_scoping_rules do |t|
      t.string :scopable, index: true
      t.references :authz_role, foreign_key: true, null: false,
                   index: true
      t.string :keyword, index: true

      t.timestamps
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
authz-0.0.2 db/migrate/20190102030242_create_authz_scoping_rules.rb
authz-0.0.1 db/migrate/20190102030242_create_authz_scoping_rules.rb
authz-0.0.1.alpha5 db/migrate/20190102030242_create_authz_scoping_rules.rb
authz-0.0.1.alpha4 db/migrate/20190102030242_create_authz_scoping_rules.rb
authz-0.0.1.alpha3 db/migrate/20190102030242_create_authz_scoping_rules.rb
authz-0.0.1.alpha2 db/migrate/20190102030242_create_authz_scoping_rules.rb
authz-0.0.1.alpha db/migrate/20190102030242_create_authz_scoping_rules.rb