Twitch Hyperfocus version 0
This commit is contained in:
16
hyperfocus/data.py
Normal file
16
hyperfocus/data.py
Normal file
@@ -0,0 +1,16 @@
|
||||
from data import Registry, Table, RowModel
|
||||
from data.columns import String, Integer, Timestamp
|
||||
|
||||
|
||||
class Hyperfocuser(RowModel):
|
||||
_tablename_ = "hyperfocused"
|
||||
_cache_ = {}
|
||||
|
||||
profileid = Integer(primary=True)
|
||||
started_at = Timestamp()
|
||||
ends_at = Timestamp()
|
||||
started_in = Integer()
|
||||
|
||||
|
||||
class HyperfocusData(Registry):
|
||||
hyperfocused = Hyperfocuser.table
|
||||
Reference in New Issue
Block a user