Sha256: 7ba55e3d0c6ddf81870c782ea9143e9e4b9cea21563973daaac067b2b65a056c
Contents?: true
Size: 466 Bytes
Versions: 12
Compression:
Stored size: 466 Bytes
Contents
class CreateAdeiaPermissions < ActiveRecord::Migration def change create_table :adeia_permissions do |t| t.references :owner, polymorphic: true, index: true t.references :adeia_element, index: true, foreign_key: true t.integer :permission_type t.boolean :read_right t.boolean :create_right t.boolean :update_right t.boolean :destroy_right t.integer :resource_id t.timestamps null: false end end end
Version data entries
12 entries across 12 versions & 1 rubygems