CAlendar data
This commit is contained in:
+1
-1
@@ -99,7 +99,7 @@ CREATE TABLE member_product_refresh(
|
|||||||
uid uuid DEFAULT uuid_generate_v4(),
|
uid uuid DEFAULT uuid_generate_v4(),
|
||||||
member_id INT REFERENCES members(id),
|
member_id INT REFERENCES members(id),
|
||||||
product_id VARCHAR(25) NOT NULL,
|
product_id VARCHAR(25) NOT NULL,
|
||||||
subscription_uid VARCHAR(100) UNIQUE NOT NULL,
|
subscription_uid VARCHAR(100) NOT NULL,
|
||||||
status INT DEFAULT 0,
|
status INT DEFAULT 0,
|
||||||
added timestamp without time zone DEFAULT now(),
|
added timestamp without time zone DEFAULT now(),
|
||||||
updated timestamp without time zone DEFAULT now()
|
updated timestamp without time zone DEFAULT now()
|
||||||
|
|||||||
@@ -164,10 +164,22 @@ class AccountService(BaseService):
|
|||||||
calendar_data = {
|
calendar_data = {
|
||||||
"last_update": datetime.datetime.utcnow(),
|
"last_update": datetime.datetime.utcnow(),
|
||||||
"category": [
|
"category": [
|
||||||
{"cid": "1", "description": "category 01"},
|
{
|
||||||
{"cid": "2", "description": "category 02"},
|
"cid": "1",
|
||||||
{"cid": "3", "description": "category 03"},
|
"description": "Health Check"
|
||||||
{"cid": "4", "description": "category 04"},
|
},
|
||||||
|
{
|
||||||
|
"cid": "2",
|
||||||
|
"description": "Product Updates"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cid": "3",
|
||||||
|
"description": "Provisioning"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"cid": "4",
|
||||||
|
"description": "Contacts"
|
||||||
|
}
|
||||||
],
|
],
|
||||||
"list": dList
|
"list": dList
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user