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