Sha256: 948bb37a08702cbdd68486adf8e4440227c05b5ddc418085c31e6ee8896d78d2

Contents?: true

Size: 255 Bytes

Versions: 4

Compression:

Stored size: 255 Bytes

Contents

class CreateAuthorizations < ActiveRecord::Migration
  def self.up
    create_table :authorizations do |t|
      t.integer :operator_id
      t.integer :ability_id
      t.timestamps
    end
  end

  def self.down
    drop_table :authorizations
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
vigilante-1.0.3 lib/generators/vigilante/install/templates/create_authorizations.rb
vigilante-1.0.2 lib/generators/vigilante/install/templates/create_authorizations.rb
vigilante-1.0.1 lib/generators/vigilante/install/templates/create_authorizations.rb
vigilante-1.0.0 lib/generators/vigilante/install/templates/create_authorizations.rb