diff options
author | clarkzjw <[email protected]> | 2023-02-23 11:16:27 -0800 |
---|---|---|
committer | clarkzjw <[email protected]> | 2023-02-23 12:07:32 -0800 |
commit | c5d0fa1fb08e3a3d4dca7aaff7590d35072f0e75 (patch) | |
tree | 27b427b8797f996e50050a0769866d5710a719ff /dbstore/peewee_store.py | |
parent | f1bcfdf48153e9c08cc1abfc7fd80cc8cc290359 (diff) | |
download | swarm2fediverse-c5d0fa1fb08e3a3d4dca7aaff7590d35072f0e75.tar.gz |
update README
Diffstat (limited to 'dbstore/peewee_store.py')
-rw-r--r-- | dbstore/peewee_store.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dbstore/peewee_store.py b/dbstore/peewee_store.py index 272e230..d124de2 100644 --- a/dbstore/peewee_store.py +++ b/dbstore/peewee_store.py | |||
@@ -16,6 +16,8 @@ class BaseModel(Model): | |||
16 | 16 | ||
17 | class User(BaseModel): | 17 | class User(BaseModel): |
18 | telegram_user_id = CharField(unique=True, primary_key=True) | 18 | telegram_user_id = CharField(unique=True, primary_key=True) |
19 | # TODO: | ||
20 | # add AES encryption to access_key | ||
19 | access_key = CharField(max_length=64) | 21 | access_key = CharField(max_length=64) |
20 | home_instance = CharField(max_length=128) | 22 | home_instance = CharField(max_length=128) |
21 | state = CharField(max_length=128) | 23 | state = CharField(max_length=128) |