cirandas.net

ref: master

plugins/sniffer/db/migrate/20110628183956_create_sniffer_plugin_profiles.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
class CreateSnifferPluginProfiles < ActiveRecord::Migration
  def self.up
    create_table :sniffer_plugin_profiles do |t|
      t.integer :profile_id
      t.boolean :enabled

      t.timestamps
    end
  end

  def self.down
    drop_table :sniffer_plugin_profiles
  end
end