metasploit-framework/data/sql/migrate/020_add_user_preferences.rb

12 lines
182 B
Ruby
Raw Normal View History

class AddUserPreferences < ActiveRecord::Migration
def self.up
add_column :users, :prefs, :string, :limit => 524288
end
def self.down
remove_column :users, :prefs
end
end