fix+feat(everything): lot of things
Some checks failed
Deploy to Development / build-and-deploy (push) Failing after 20s

This commit is contained in:
EvanChal
2026-01-25 22:14:48 +01:00
parent 5bbe05000e
commit dfeaecce73
15 changed files with 871 additions and 43 deletions

View File

@@ -175,8 +175,9 @@ def init_default_settings():
async def lifespan(app: FastAPI):
# Startup
print("Starting LeDiscord backend...")
# Create tables
Base.metadata.create_all(bind=engine)
# Note: Database migrations are handled by Alembic
# Run migrations manually with: alembic upgrade head
# Base.metadata.create_all(bind=engine) # Disabled in favor of Alembic migrations
# Initialize database with admin user
init_database()
# Initialize default settings