Sha256: 60e1a90f40e076944d4a00a96ce7594780198416be8156e1fcd55688c4db22d7

Contents?: true

Size: 223 Bytes

Versions: 16

Compression:

Stored size: 223 Bytes

Contents

class AddVirtualColumnToPage < ActiveRecord::Migration[5.1]
  def self.up
    add_column "pages", "virtual", :boolean, :null => false, :default => false
  end

  def self.down
    remove_column "pages", "virtual"
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
trusty-cms-3.3.2 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.3.1 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.2.1 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.3.0 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.2.0 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.1.11 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.1.10 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.1.9 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.1.8 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.1.7 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.1.6 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.1.5 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.1.3 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.1.2 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.1.1 db/migrate/005_add_virtual_column_to_page.rb
trusty-cms-3.1.0 db/migrate/005_add_virtual_column_to_page.rb