Create TrackedTimeEntry as more general replacement of Attendance to include preparation and review
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class CreateTrackedTimeEntries < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
create_table :tracked_time_entries do |t|
|
||||
t.references :lecture, null: false, foreign_key: true
|
||||
t.integer :kind
|
||||
t.jsonb :toggl_data
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user