OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/db/migrate/20130807085430_create_time_...

19 lines
743 B

class CreateTimeEntryJournals < ActiveRecord::Migration
def change
create_table :time_entry_journals do |t|
t.integer :journal_id, :null => false
t.integer :project_id, :null => false
t.integer :user_id, :null => false
t.integer :work_package_id
t.float :hours, :null => false
t.string :comments
t.integer :activity_id, :null => false
t.date :spent_on, :null => false
t.integer :tyear, :null => false
t.integer :tmonth, :null => false
t.integer :tweek, :null => false
t.datetime :created_on, :null => false
t.datetime :updated_on, :null => false
end
end
end