mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
DeepSource Fixing Antipatterns
This commit is contained in:
parent
1152856f2a
commit
7b97b8e0ef
11 changed files with 177 additions and 185 deletions
|
@ -14,8 +14,6 @@ DB_PATH = os.path.join(USER_DIR, 'gallery.sqlite')
|
|||
|
||||
|
||||
# In the future, I want to add support for other databases
|
||||
# engine = create_engine('postgresql://username:password@host:port/database_name', echo=False)
|
||||
# engine = create_engine('mysql://username:password@host:port/database_name', echo=False)
|
||||
engine = create_engine(f'sqlite:///{DB_PATH}', echo=False)
|
||||
base = declarative_base()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue