Create TrackedTimeEntry as more general replacement of Attendance to include preparation and review

This commit is contained in:
2023-10-06 21:09:28 +01:00
parent c706aa2561
commit a2dfad331b
5 changed files with 44 additions and 0 deletions
@@ -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