Sha256: 6a81d615d5cbd2a49152bf7e71bc49ae875b84ddbe5952d9e87b17b25b27bf7d

Contents?: true

Size: 364 Bytes

Versions: 66

Compression:

Stored size: 364 Bytes

Contents

class Change3ColumnsMods < ActiveRecord::Migration
  def self.up
    add_column :mods, :size, :integer, :default => 0
    add_column :mods, :size_wd, :integer, :default => 0
    add_column :mods, :updated_version, :datetime
  end

  def self.down
    remove_column :mods, :size
    remove_column :mods, :size_wd
    remove_column :mods, :updated_version
  end
end

Version data entries

66 entries across 66 versions & 1 rubygems

Version Path
six-updater-web-0.23.3 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.23.2 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.23.1 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.23.0 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.22.4 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.22.3 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.22.2 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.22.1 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.22.0 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.21.6 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.21.5 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.21.4 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.21.3 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.21.2 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.21.1 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.21.0 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.20.8 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.20.7 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.20.5 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.20.4 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb