Sha256: 6d5f36bb78e9d27dbf4cba778b24beac192bed2dda076383925d8266a5ac15eb

Contents?: true

Size: 425 Bytes

Versions: 2

Compression:

Stored size: 425 Bytes

Contents

# This migration comes from tb_cms (originally 20150108162839)
class RemoveSiteIdFromCmsTables < ActiveRecord::Migration
  def up
    remove_column :spud_menus, :site_id
    remove_column :spud_pages, :site_id
    remove_column :spud_snippets, :site_id
  end

  def down
    add_column :spud_menus, :site_id, :integer
    add_column :spud_pages, :site_id, :integer
    add_column :spud_snippets, :site_id, :integer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tb_cms-1.3.0 spec/dummy/db/migrate/20150108164814_remove_site_id_from_cms_tables.tb_cms.rb
tb_cms-1.3.beta1 spec/dummy/db/migrate/20150108164814_remove_site_id_from_cms_tables.tb_cms.rb