iCantSneed / mati-superchats

MATI superchats archiver
https://mati.x10.mx
GNU Affero General Public License v3.0
0 stars 0 forks source link

Create Stream table #45

Closed iCantSneed closed 5 months ago

iCantSneed commented 5 months ago

The Stream table will aid in quickly retrieving superchats belonging to a specific stream. It should contain these columns:

The Superchat table needs to be altered to add a stream column and make it indexable.

The cached superchats should contain the Stream id and, more importantly, the prev id, so it can be delivered to the UI. The UI can use the prev id to retrieve superchats for the previous stream, the previous stream can provide the stream id prior to that one, and so on.

To be completed after #50.

iCantSneed commented 5 months ago

Migrations: