Project

General

Profile

Feature #1176 » 20120214222640_create_issue_schedules.rb

Preethi Sriram, 2012-03-19 22:35

 
class CreateIssueSchedules < ActiveRecord::Migration
def self.up
create_table :issue_schedules do |t|
t.integer :project_id
t.integer :tracker_id
t.integer :issue_id
t.integer :assigned_to_id
t.integer :author_id
t.string :subject
t.integer :interval_number
t.string :interval_units
t.datetime :last_assigned_date
t.datetime :next_run_date

t.timestamps
end
end

def self.down
drop_table :issue_schedules
end
end
(2-2/2)