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.37.2 db/migrate/003_add_estimation_points.rb
backlog-0.37.1 db/migrate/003_add_estimation_points.rb
backlog-0.36.2 db/migrate/003_add_estimation_points.rb
backlog-0.0.5 db/migrate/003_add_estimation_points.rb
backlog-0.1.1 db/migrate/003_add_estimation_points.rb
backlog-0.1.0 db/migrate/003_add_estimation_points.rb
backlog-0.1.2 db/migrate/003_add_estimation_points.rb
backlog-0.10.0 db/migrate/003_add_estimation_points.rb
backlog-0.10.1 db/migrate/003_add_estimation_points.rb
backlog-0.10.4 db/migrate/003_add_estimation_points.rb
backlog-0.10.2 db/migrate/003_add_estimation_points.rb
backlog-0.10.5 db/migrate/003_add_estimation_points.rb
backlog-0.10.3 db/migrate/003_add_estimation_points.rb
backlog-0.10.6 db/migrate/003_add_estimation_points.rb
backlog-0.10.7 db/migrate/003_add_estimation_points.rb
backlog-0.11.0 db/migrate/003_add_estimation_points.rb
backlog-0.10.8 db/migrate/003_add_estimation_points.rb
backlog-0.12.0 db/migrate/003_add_estimation_points.rb
backlog-0.12.2 db/migrate/003_add_estimation_points.rb
backlog-0.12.1 db/migrate/003_add_estimation_points.rb