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
trusty-cms-1.0.0 db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.1.4 db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.1.3 db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.1.2 db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.1.1 db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.1.0 db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.1.0.rc1 db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.1.0.beta db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.0.1 db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.1.0.alpha db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.0.0 db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.0.0.rc5 db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.0.0.rc4 db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.0.0.rc3 db/migrate/007_remove_virtual_column_from_page.rb
kajam-1.0.3.rc2 db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.0.0.rc2 db/migrate/007_remove_virtual_column_from_page.rb
radiant-1.0.0.rc1 db/migrate/007_remove_virtual_column_from_page.rb
radiant-rails3-0.1 db/migrate/007_remove_virtual_column_from_page.rb
radiantcms-couchrest_model-0.2.4 db/migrate/007_remove_virtual_column_from_page.rb
radiantcms-couchrest_model-0.2.2 db/migrate/007_remove_virtual_column_from_page.rb