Sha256: bad7b017b524316ec7ba17b3605ad6a6cb2ffa326a8255a00d2fe9f1d50b3ca3

Contents?: true

Size: 249 Bytes

Versions: 30

Compression:

Stored size: 249 Bytes

Contents

class CreateRegions < ActiveRecord::Migration
  def self.up
    create_table :regions do |t|
      t.integer :pool_id
      t.string :name
      t.integer :position
      t.timestamps
    end
  end

  def self.down
    drop_table :regions
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
tournament-2.1.1 webgui/db/migrate/20090301090511_create_regions.rb
tournament-2.0.0 webgui/db/migrate/20090301090511_create_regions.rb
tournament-2.1.0 webgui/db/migrate/20090301090511_create_regions.rb
tournament-2.4.0 webgui/db/migrate/20090301090511_create_regions.rb
tournament-2.2.2 webgui/db/migrate/20090301090511_create_regions.rb
tournament-2.3.0 webgui/db/migrate/20090301090511_create_regions.rb
tournament-2.5.0 webgui/db/migrate/20090301090511_create_regions.rb
tournament-2.5.1 webgui/db/migrate/20090301090511_create_regions.rb
tournament-2.6.0 webgui/db/migrate/20090301090511_create_regions.rb
tournament-2.5.2 webgui/db/migrate/20090301090511_create_regions.rb