Replace Alembic with plain SQL schema

- Fix scalar_first() bug in persistent_conversation.py (use scalars().first())
- Add schema.sql with all 7 tables (users, user_preferences, user_facts, guilds, guild_members, conversations, messages)
- Update database.py to run schema.sql on startup
- Remove Alembic directory and configuration
- Remove alembic from requirements.txt
This commit is contained in:
2026-01-12 18:30:55 +01:00
parent 707410e2ce
commit 94abdca2f7
8 changed files with 139 additions and 389 deletions

View File

@@ -17,4 +17,3 @@ python-dotenv>=1.0.0
# Database
asyncpg>=0.29.0
sqlalchemy[asyncio]>=2.0.0
alembic>=1.13.0