forgeplus/db/migrate/20200103062707_create_issue...

14 lines
342 B
Ruby
Raw Normal View History

2020-03-09 00:40:16 +08:00
class CreateIssueTimes < ActiveRecord::Migration[5.2]
def change
# create_table :issue_times do |t|
# t.integer :issue_id
# t.integer :user_id
# t.datetime :start_time
# t.datetime :end_time
# t.string :cost_time
# t.timestamps
# end
# add_index :issue_times, [:issue_id, :user_id]
end
end