Sha256: 08f15b977b4aaebb76f190d240a7de18f7cb6ca8beaf70985710e9aeb42b7106
Contents?: true
Size: 442 Bytes
Versions: 59
Compression:
Stored size: 442 Bytes
Contents
class ExtendSites < ActiveRecord::Migration def self.up if defined? Site add_column :sites, :reader_layout_id, :integer add_column :sites, :mail_from_name, :string add_column :sites, :mail_from_address, :string end end def self.down if defined? Site remove_column :sites, :reader_layout_id remove_column :sites, :mail_from_name remove_column :sites, :mail_from_address end end end
Version data entries
59 entries across 59 versions & 1 rubygems