Sha256: ef7de753a667e1e80532cd4cbaa5bb69c397df0c9cfb0e26f95f2a9363522496

Contents?: true

Size: 309 Bytes

Versions: 24

Compression:

Stored size: 309 Bytes

Contents

class CreateAuthorizations < ActiveRecord::Migration
  def self.up
    create_table :authorizations do |t|
      t.integer :operator_id
      t.integer :ability_id
      t.string  :extent
      t.string  :extent_type

      t.timestamps
    end
  end

  def self.down
    drop_table :authorizations
  end
end

Version data entries

24 entries across 20 versions & 1 rubygems

Version Path
vigilante-1.0.19 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.18 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.17 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.16 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.15 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.14 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.13 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.12 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.11 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.10 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.9 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.8 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.7 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.6 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.5 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.4 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.3 lib/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.3 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.2 spec/dummy/db/migrate/20101028092014_create_authorizations.rb
vigilante-1.0.2 lib/db/migrate/20101028092014_create_authorizations.rb