ActivityWatch / ActivityWatch/aw-core
Creating new table in peewee database
未關閉
- 主要語言
- Python
- 星號
- 65
- 分支
- 72
- 平均合併
- 2 天 3 小時
- 30 天內合併 PR
- 5
描述
I've created a new table in the peewee.py file. I've tried both make build and make install in aw-core, yet it doesn't seem like the peewee file ever runs the code. I've looked into the source code and couldn't find when the PeeweeStorage was initialized. Any idea on how to get the file to run manually?
Code below:
if not BucketModel.table_exists():
BucketModel.create_table()
if not EventModel.table_exists():
EventModel.create_table()
if not TestModel.table_exists():
TestModel.create_table()
self.update_bucket_keys()
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。