cirandas.net

ref: master

plugins/sniffer/db/migrate/20110628142213_create_sniffer_plugin_opportunities.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
class CreateSnifferPluginOpportunities < ActiveRecord::Migration
  def self.up
    create_table :sniffer_plugin_opportunities do |t|
      t.integer :profile_id
      t.integer :opportunity_id
      t.string :opportunity_type

      t.timestamps
    end
  end

  def self.down
    drop_table :sniffer_plugin_opportunities
  end
end