aboutsummaryrefslogtreecommitdiffstats
path: root/db/migrate/111_create_purge_requests.rb
blob: 0b4fd1d1d4a3e1ce26253de953e86d37c0f29f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class CreatePurgeRequests < ActiveRecord::Migration
  def self.up
    create_table :purge_requests do |t|
        t.column :url, :string
        t.column :created_at, :datetime, :null => false
        t.column :model, :string, :null => false
        t.column :model_id, :integer, :null => false
    end
  end

  def self.down
    drop_table :purge_requests
  end
end