gocast
gocast copied to clipboard
Remove Course.LiveEnabled
Changes
- Closes #391
- Updates testdata
- Eliminates
LiveEnabledfrom all places
Further information
SQL drop column command:
ALTER TABLE courses DROP COLUMN live_enabled;
ALTER TABLE courses DROP COLUMN live_enabled;This could be a migration
I've added the migration. I hope I got the naming right 😅 How do I make sure that the migrations executes - or in other words - where do I call the migration?
You can reference it here https://github.com/joschahenningsen/TUM-Live/blob/f80d12b754a30effed3f7bfc26533187351790d7/dao/migrator.go#L34 :)
I think
course.StreamEnabledbecomesstreamCtx.streamafter sending the request to the worker.https://github.com/joschahenningsen/TUM-Live/blob/fa9bfbf2c0a13dc9446a2325efb204d99cfea31a/worker/worker/request_handlers.go#L433
This should also be removed along with the logic for just recording without streaming.
Thanks!
the logic for just recording without streaming.
Thanks! How about the PublishStream attribute in the StreamRequest? I guess that should be deleted too.
How about the PublishStream attribute in the StreamRequest?
Yup that should be removable as well then.
Am Di., 16. Aug. 2022 um 15:35 Uhr schrieb matthias < @.***>:
I think course.StreamEnabled becomes streamCtx.stream after sending the request to the worker.
https://github.com/joschahenningsen/TUM-Live/blob/fa9bfbf2c0a13dc9446a2325efb204d99cfea31a/worker/worker/request_handlers.go#L433
This should also be removed along with the logic for just recording without streaming.
Thanks!
the logic for just recording without streaming.
Thanks! How about the PublishStream attribute in the StreamRequest? I guess that should be deleted too.
— Reply to this email directly, view it on GitHub https://github.com/joschahenningsen/TUM-Live/pull/636#issuecomment-1216648389, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKV24QGBA6CPV3WX3UJ3GZLVZOKLDANCNFSM56HGNXTQ . You are receiving this because you commented.Message ID: @.***>