summaryrefslogtreecommitdiff
path: root/db/migrate/20120128191113_create_access_authorizations.rb
blob: b05a2883af1f4885e2f5d7cb1465afd5823f48d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class CreateAccessAuthorizations < ActiveRecord::Migration
  def self.up
    create_table :access_authorizations do |t|
      t.string :access_authorizationable_type
      t.integer :access_authorizationable_id
      t.string :name
      t.string :login
      t.string :pin
      t.integer :position
      t.timestamps
    end
  end

  def self.down
    drop_table :access_authorizations
  end
end