12 lines
267 B
Ruby
12 lines
267 B
Ruby
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
|