Sha256: 0c562695313dcb39de332ac1fab504c9257bb6c151c9f28e7d271e6c898c5f6d

Contents?: true

Size: 336 Bytes

Versions: 1

Compression:

Stored size: 336 Bytes

Contents

class CreateAlberichPrivileges < ActiveRecord::Migration
  def change
    create_table :alberich_privileges do |t|
      t.integer :role_id,      :null => false
      t.string :target_type,   :null => false
      t.string :action,        :null => false

      t.integer :lock_version, :default => 0
      t.timestamps
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alberich-0.2.0 db/migrate/20121022223626_create_alberich_privileges.rb