Initial
This commit is contained in:
0
app/db/__init__.py
Normal file
0
app/db/__init__.py
Normal file
9
app/db/db.py
Normal file
9
app/db/db.py
Normal file
@@ -0,0 +1,9 @@
|
||||
from flask_sqlalchemy import SQLAlchemy
|
||||
from sqlalchemy.orm import DeclarativeBase
|
||||
|
||||
|
||||
class Base(DeclarativeBase):
|
||||
pass
|
||||
|
||||
|
||||
db = SQLAlchemy(model_class=Base)
|
||||
Reference in New Issue
Block a user