17 lines
370 B
Python
17 lines
370 B
Python
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
|