Sha256: a1f720357670b33d0ef203c8f11e491ee16e458546baaa8645e6a19046fefae9

Contents?: true

Size: 246 Bytes

Versions: 32

Compression:

Stored size: 246 Bytes

Contents

class ExtendSites < ActiveRecord::Migration
  def self.up
    if defined? Site
      add_column :sites, :forum_layout_id, :integer
    end
  end

  def self.down
    if defined? Site
      remove_column :sites, :forum_layout_id
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
radiant-forum-extension-3.0.7 db/migrate/003_extend_sites.rb
radiant-forum-extension-3.0.6 db/migrate/003_extend_sites.rb
radiant-forum-extension-3.0.5 db/migrate/003_extend_sites.rb
radiant-forum-extension-3.0.4 db/migrate/003_extend_sites.rb
radiant-forum-extension-3.0.3 db/migrate/003_extend_sites.rb
radiant-forum-extension-3.0.2 db/migrate/003_extend_sites.rb
radiant-forum-extension-3.0.1 db/migrate/003_extend_sites.rb
radiant-forum-extension-3.0.0 db/migrate/003_extend_sites.rb
radiant-forum-extension-3.0.0.rc6 db/migrate/003_extend_sites.rb
radiant-forum-extension-3.0.0.rc4 db/migrate/003_extend_sites.rb
radiant-forum-extension-3.0.0.rc3 db/migrate/003_extend_sites.rb
radiant-forum-extension-2.1.6 db/migrate/003_extend_sites.rb
radiant-forum-extension-2.1.4 db/migrate/003_extend_sites.rb
radiant-forum-extension-2.1.3 db/migrate/003_extend_sites.rb
radiant-forum-extension-2.1.2 db/migrate/003_extend_sites.rb
radiant-forum-extension-2.1.1 db/migrate/003_extend_sites.rb
radiant-forum-extension-2.0.9 db/migrate/003_extend_sites.rb
radiant-forum-extension-2.0.8 db/migrate/003_extend_sites.rb
radiant-forum-extension-2.0.7 db/migrate/003_extend_sites.rb
radiant-forum-extension-2.0.6 db/migrate/003_extend_sites.rb