1
0

nightly commit

This commit is contained in:
2021-01-29 11:10:25 +08:00
parent 35ead94b7d
commit c8908c6075
3 changed files with 471 additions and 11 deletions

View File

@@ -122,6 +122,7 @@ class CalendarDatabase(object):
# =============================== # =============================== operation function
# =============================== common
@SafeDatabaseOperation
def common_salt(self, username):
salt = utils.GenerateSalt()

View File

@@ -22,6 +22,7 @@ CREATE TABLE collection(
[ccn_uuid] TEXT NOT NULL,
[ccn_name] TEXT NOT NULL,
[ccn_user] TEXT NOT NULL,
[ccn_lastChange] TEXT NOT NULL,
PRIMARY KEY (ccn_uuid),
FOREIGN KEY (ccn_user) REFERENCES user(ccn_name) ON DELETE CASCADE