Add notif page

This commit is contained in:
2025-05-31 18:28:53 +02:00
parent 5e5d1beb5e
commit 224d4d400e
43 changed files with 779 additions and 6 deletions

11
create_notifs_table.py Normal file
View File

@@ -0,0 +1,11 @@
from app import app, db
from models import Notif
def create_notifs_table():
with app.app_context():
# Create the table
Notif.__table__.create(db.engine)
print("Notifications table created successfully!")
if __name__ == '__main__':
create_notifs_table()