Sha256: 2336427f6b6fcb5927da8d5fc5328caca906c3a8acf75efd4d4b9317bbf9684c

Contents?: true

Size: 225 Bytes

Versions: 55

Compression:

Stored size: 225 Bytes

Contents

class RemoveVirtualColumnFromPage < ActiveRecord::Migration
  def self.up
    remove_column "pages", "virtual"
  end
  
  def self.down
    add_column "pages", "virtual", :boolean, :null => false, :default => false
  end
end

Version data entries

55 entries across 55 versions & 6 rubygems

Version Path
radiantcms-couchrest_model-0.2.1 db/migrate/007_remove_virtual_column_from_page.rb
radiantcms-couchrest_model-0.2 db/migrate/007_remove_virtual_column_from_page.rb
radiantcms-couchrest_model-0.1.9 db/migrate/007_remove_virtual_column_from_page.rb
radiantcms-couchrest_model-0.1.8 db/migrate/007_remove_virtual_column_from_page.rb
radiantcms-couchrest_model-0.1.7 db/migrate/007_remove_virtual_column_from_page.rb
radiantcms-couchrest_model-0.1.6 db/migrate/007_remove_virtual_column_from_page.rb
radiantcms-couchrest_model-0.1.5 db/migrate/007_remove_virtual_column_from_page.rb
radiantcms-couchrest_model-0.1.4 db/migrate/007_remove_virtual_column_from_page.rb
radiantcms-couchrest_model-0.1.3 db/migrate/007_remove_virtual_column_from_page.rb
radiantcms-couchrest_model-0.1.2 db/migrate/007_remove_virtual_column_from_page.rb
radiantcms-couchrest_model-0.1.1 db/migrate/007_remove_virtual_column_from_page.rb
radiantcms-couchrest_model-0.1 db/migrate/007_remove_virtual_column_from_page.rb
radiant-0.7.2 db/migrate/007_remove_virtual_column_from_page.rb
radiant-0.9.1 db/migrate/007_remove_virtual_column_from_page.rb
radiant-0.8.2 db/migrate/007_remove_virtual_column_from_page.rb
radiant-0.9.0.rc2 db/migrate/007_remove_virtual_column_from_page.rb
radiant-rc-0.9.0 db/migrate/007_remove_virtual_column_from_page.rb
radiant-0.8.1 db/migrate/007_remove_virtual_column_from_page.rb
radiant-0.5.0 db/migrate/007_remove_virtual_column_from_page.rb
radiant-0.5.1 db/migrate/007_remove_virtual_column_from_page.rb