Sha256: 4c2786ba179210e292f3bc1687fe088b0344f594f2bd853858ae96a0dd0a66a8

Contents?: true

Size: 507 Bytes

Versions: 119

Compression:

Stored size: 507 Bytes

Contents

class AddEstimationPoints < ActiveRecord::Migration
  def self.up
    create_table :works do |table|
      table.column :task_id, :integer, :null => false
      table.column :todo, :integer, :null => false
      table.column :hours, :integer, :null => false
      table.column :completed_at, :datetime, :null => false
    end
    add_column :tasks, :initial_estimate, :integer, :null => false, :default => 1
  end

  def self.down
    remove_column :tasks, :initial_estimate
    drop_table :works
  end
end

Version data entries

119 entries across 119 versions & 1 rubygems

Version Path
backlog-0.3.2 db/migrate/003_add_estimation_points.rb
backlog-0.3.1 db/migrate/003_add_estimation_points.rb
backlog-0.3.4 db/migrate/003_add_estimation_points.rb
backlog-0.3.5 db/migrate/003_add_estimation_points.rb
backlog-0.3.6 db/migrate/003_add_estimation_points.rb
backlog-0.3.7 db/migrate/003_add_estimation_points.rb
backlog-0.3.8 db/migrate/003_add_estimation_points.rb
backlog-0.3.9 db/migrate/003_add_estimation_points.rb
backlog-0.30.0 db/migrate/003_add_estimation_points.rb
backlog-0.31.0 db/migrate/003_add_estimation_points.rb
backlog-0.32.0 db/migrate/003_add_estimation_points.rb
backlog-0.31.1 db/migrate/003_add_estimation_points.rb
backlog-0.33.0 db/migrate/003_add_estimation_points.rb
backlog-0.33.1 db/migrate/003_add_estimation_points.rb
backlog-0.34.1 db/migrate/003_add_estimation_points.rb
backlog-0.34.2 db/migrate/003_add_estimation_points.rb
backlog-0.35.0 db/migrate/003_add_estimation_points.rb
backlog-0.34 db/migrate/003_add_estimation_points.rb
backlog-0.35.1 db/migrate/003_add_estimation_points.rb
backlog-0.35.2 db/migrate/003_add_estimation_points.rb