Sha256: 074c2c7e573ec2324b90ab53aff9dc077b373c53bc1e004386f927badf37e48b

Contents?: true

Size: 288 Bytes

Versions: 38

Compression:

Stored size: 288 Bytes

Contents

class CreateTournaments < ActiveRecord::Migration
  def change
    create_table :tournaments do |t|
      t.string :name
      t.string :short_name
      t.date :beginning
      t.date :ending
      t.boolean :is_current, default: false, null: false

      t.timestamps
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
synchronisable-1.3.1 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.3.0 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.2.7 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.2.6 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.2.5 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.2.4 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.2.3 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.2.2 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.2.1 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.2.0 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.1.9 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.1.8 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.1.7 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.1.6 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.1.5 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.1.4 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.1.3 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.1.2 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.1.1 spec/dummy/db/migrate/20140507135800_create_tournaments.rb
synchronisable-1.1.0 spec/dummy/db/migrate/20140507135800_create_tournaments.rb