- Added DATABASE_SETUP.md with comprehensive guide for PostgreSQL and Redis installation on Windows - Created .claude/settings.local.json with permission settings for pytest and database fix scripts - Updated .gitignore to exclude .env.backup file - Included database connection test utilities in lyra/database_setup.py - Added environment variable configuration examples for local development
26 lines
551 B
Python
26 lines
551 B
Python
"""
|
|
Lyra Database Module
|
|
|
|
Handles all data persistence including conversations, personality states,
|
|
emotional memories, knowledge storage, and learning progress.
|
|
"""
|
|
|
|
from .models import (
|
|
ConversationModel,
|
|
PersonalityStateModel,
|
|
EmotionalMemoryModel,
|
|
KnowledgeModel,
|
|
UserModel,
|
|
LearningProgressModel
|
|
)
|
|
from .manager import DatabaseManager
|
|
|
|
__all__ = [
|
|
"ConversationModel",
|
|
"PersonalityStateModel",
|
|
"EmotionalMemoryModel",
|
|
"KnowledgeModel",
|
|
"UserModel",
|
|
"LearningProgressModel",
|
|
"DatabaseManager"
|
|
] |