class Change2ColumnsAppsettings < ActiveRecord::Migration def self.up add_column :appsettings, :modpath, :string end def self.down remove_column :appsettings, :modpath end end