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.24.15 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.14 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.13 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.12 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.11 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.10 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.9 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.8 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.7 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.6 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.5 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.4 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.3 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.2 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.1 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.24.0 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.23.7 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.23.6 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.23.5 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb
six-updater-web-0.23.4 lib/six-updater-web/db/migrate/20100518094056_change3_columns_mods.rb