Skip to content

Commit

Permalink
修改回默认sqlite3
Browse files Browse the repository at this point in the history
  • Loading branch information
AragonSnow committed Jun 11, 2020
1 parent 4631889 commit 847c202
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class sqlite3(object):
path = './config/database.db'

# 数据库类型,修改 sqlite3 为 mysql 使用 mysql
db_type = os.getenv('DB_TYPE', 'mysql')
db_type = os.getenv('DB_TYPE', 'sqlite3')

# redis 连接参数,可选
class redis(object):
Expand Down

0 comments on commit 847c202

Please sign in to comment.