Implement quotes.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
from data import Registry, RowModel, Table
|
||||
from data.columns import Integer, Timestamp, String
|
||||
from data.columns import Bool, Integer, Timestamp, String
|
||||
|
||||
from weakref import WeakValueDictionary
|
||||
|
||||
@@ -10,6 +10,7 @@ class Quote(RowModel):
|
||||
quoteid = Integer(primary=True)
|
||||
communityid = Integer()
|
||||
content = String()
|
||||
deleted_at = Timestamp()
|
||||
created_by = Integer()
|
||||
created_at = Timestamp()
|
||||
_timestamp = Timestamp()
|
||||
@@ -21,6 +22,7 @@ class QuoteInfo(Quote):
|
||||
_cache_ = WeakValueDictionary()
|
||||
|
||||
quotelabel = Integer()
|
||||
is_deleted = Bool()
|
||||
|
||||
|
||||
class QuotesData(Registry):
|
||||
|
||||
Reference in New Issue
Block a user