ActivityWatch / ActivityWatch/aw-core
Creating new table in peewee database
オープン
- 主要言語
- Python
- スター
- 65
- フォーク
- 72
- 平均マージ
- 2日 3時間
- マージ済み PR(30日)
- 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 はまだ評価されていません。