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.6.3 db/migrate/003_add_estimation_points.rb
backlog-0.6.6 db/migrate/003_add_estimation_points.rb
backlog-0.7.0 db/migrate/003_add_estimation_points.rb
backlog-0.7.1 db/migrate/003_add_estimation_points.rb
backlog-0.7.10 db/migrate/003_add_estimation_points.rb
backlog-0.7.11 db/migrate/003_add_estimation_points.rb
backlog-0.7.12 db/migrate/003_add_estimation_points.rb
backlog-0.7.2 db/migrate/003_add_estimation_points.rb
backlog-0.7.3 db/migrate/003_add_estimation_points.rb
backlog-0.7.5 db/migrate/003_add_estimation_points.rb
backlog-0.7.4 db/migrate/003_add_estimation_points.rb
backlog-0.7.6 db/migrate/003_add_estimation_points.rb
backlog-0.7.7 db/migrate/003_add_estimation_points.rb
backlog-0.7.8 db/migrate/003_add_estimation_points.rb
backlog-0.7.9 db/migrate/003_add_estimation_points.rb
backlog-0.8.0 db/migrate/003_add_estimation_points.rb
backlog-0.8.1 db/migrate/003_add_estimation_points.rb
backlog-0.9.0 db/migrate/003_add_estimation_points.rb
backlog-0.9.1 db/migrate/003_add_estimation_points.rb