summaryrefslogtreecommitdiff
path: root/db/migrate/20120129094444_create_whitelists.rb
blob: 9e316320ab1a5cddbeaa21eb15e9d8dc7fb794c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class CreateWhitelists < ActiveRecord::Migration
  def self.up
    create_table :whitelists do |t|
      t.string :name
      t.string :whitelistable_type
      t.integer :whitelistable_id
      t.integer :position
      t.timestamps
    end
  end

  def self.down
    drop_table :whitelists
  end
end