Sha256: 8568450260ea4d5507807de105898dcf8a664af18d69c58bfe7f173ad4df706e
Contents?: true
Size: 693 Bytes
Versions: 7
Compression:
Stored size: 693 Bytes
Contents
class AddBackgroundInfoToModels < ActiveRecord::Migration def self.up add_column :accounts, :background_info, :string add_column :campaigns, :background_info, :string add_column :contacts, :background_info, :string add_column :leads, :background_info, :string add_column :opportunities, :background_info, :string add_column :tasks, :background_info, :string end def self.down remove_column :accounts, :background_info remove_column :campaigns, :background_info remove_column :contacts, :background_info remove_column :leads, :background_info remove_column :opportunities, :background_info remove_column :tasks, :background_info end end
Version data entries
7 entries across 7 versions & 2 rubygems