12 lines
264 B
Ruby
12 lines
264 B
Ruby
class CreateAttendances < ActiveRecord::Migration[7.0]
|
|
def change
|
|
create_table :attendances do |t|
|
|
t.references :lecture, null: false, foreign_key: true
|
|
t.string :associated_toggl_entry
|
|
t.integer :kind
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|