cirandas.net

ref: master

db/migrate/20110905214250_create_abuse_report.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
class CreateAbuseReport < ActiveRecord::Migration
  def self.up
    create_table :abuse_reports do |t|
      t.references  :reporter
      t.references  :abuse_complaint
      t.text        :content
      t.text        :reason
      t.timestamps
    end
  end

  def self.down
    drop_table :abuse_reports
  end
end