This commit is contained in:
n 2025-02-07 20:10:05 -06:00
parent 0d9655265e
commit 886cf58ba6

View file

@ -9,6 +9,6 @@ port = config['database']['port']
location = config['database']['location'] location = config['database']['location']
database = config['database']['database'] database = config['database']['database']
engine = sqlalchemy.create_engine('postgresql://' + username + ':' + password + '@' + location ':' + port + '/' + database) # todo: finish this, give users options maybe engine = sqlalchemy.create_engine('postgresql://' + username + ':' + password + '@' + location +':' + port + '/' + database) # todo: finish this, give users options maybe
Session = sqlalchemy.orm.sessionmaker(bind=engine) Session = sqlalchemy.orm.sessionmaker(bind=engine)
session = Session() session = Session()