mirror of
https://github.com/Derpy-Leggies/OnlyLegs.git
synced 2025-06-29 03:26:16 +00:00
I with push my head through a conrete wall
I hate Joins
This commit is contained in:
parent
0a27d79a82
commit
91278e2d11
10 changed files with 180 additions and 187 deletions
|
@ -12,6 +12,8 @@ from sqlalchemy.orm import declarative_base, relationship, backref, mapped_colum
|
|||
|
||||
path_to_db = os.path.join(platformdirs.user_config_dir('onlylegs'), 'gallery.sqlite')
|
||||
engine = create_engine(f'sqlite:///{path_to_db}', echo=False)
|
||||
# engine = create_engine(f'postgresql://username:password@host:port/database_name', echo=False)
|
||||
# engine = create_engine(f'mysql://username:password@host:port/database_name', echo=False)
|
||||
base = declarative_base()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue