Sha256: ec041de513e35ab6b5d64787773eb075176ea79857a7fdf9404849046252c320

Contents?: true

Size: 283 Bytes

Versions: 33

Compression:

Stored size: 283 Bytes

Contents

class AddCustomBaseFlag < ActiveRecord::Migration
  def self.up
    add_column 'nodes', 'custom_base', :boolean, :default=>false
    add_column 'nodes', 'basepath', :text
  end

  def self.down
    remove_column 'nodes', 'custom_base'
    remove_column 'nodes', 'basepath'
  end
end

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
zena-1.2.8 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.2.7 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.2.6 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.2.5 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.2.4 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.2.3 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.2.2 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.2.1 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.2.0 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.1.3 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.1.2 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.1.1 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.1.0 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.0.0 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.0.0.rc3 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.0.0.rc2 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-1.0.0.rc1 db/fix/old_migrations/003_add_custom_base_flag.rb
zena-0.16.9 db/migrate/003_add_custom_base_flag.rb
zena-1.0.0.beta3 db/migrate/003_add_custom_base_flag.rb
zena-0.16.8 db/migrate/003_add_custom_base_flag.rb