Sha256: e9fcaba70eeedea85ab3665053a63bac66987db7ad527ecb55962c78b10cd591
Contents?: true
Size: 651 Bytes
Versions: 1
Compression:
Stored size: 651 Bytes
Contents
class CreateAlberichDerivedPermissions < ActiveRecord::Migration def change create_table :alberich_derived_permissions do |t| t.integer :permission_id, :null => false t.integer :role_id, :null => false t.integer :entity_id, :null => false t.integer :permission_object_id t.string :permission_object_type t.integer :lock_version, :default => 0 t.timestamps end add_index :alberich_derived_permissions, :permission_id add_index :alberich_derived_permissions, [:permission_object_id, :permission_object_type], :name => 'index_alberich_derived_permissions_on_perm_obj' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
alberich-0.2.0 | db/migrate/20130107043252_create_alberich_derived_permissions.rb |