Skip to content

Commit

Permalink
feat: 增加sqlite配置示例
Browse files Browse the repository at this point in the history
  • Loading branch information
ccgo committed Feb 21, 2024
1 parent 03ca445 commit 4f5f83d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/db_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,6 @@
# mysql config
RELATION_DB_PWD = os.getenv("RELATION_DB_PWD", "123456") # your relation db password
RELATION_DB_URL = f"mysql://root:{RELATION_DB_PWD}@localhost:3306/media_crawler"

# sqlite3 config
# RELATION_DB_URL = f"sqlite://data/media_crawler.sqlite"

0 comments on commit 4f5f83d

Please sign in to comment.