mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-04-29 03:50:04 +00:00
Changes: - Move migrations/ under open_notebook/database/migrations/ - Extract AI models to open_notebook/ai/ (Model, ModelManager, provision) - Extract podcasts to open_notebook/podcasts/ (EpisodeProfile, SpeakerProfile, PodcastEpisode) - Reorganize prompts to mirror graphs structure (chat/, source_chat/) This improves code organization by: - Consolidating database concerns (migrations now with database code) - Separating AI infrastructure from domain entities - Isolating podcast feature into its own module - Creating consistent prompt/graph naming conventions All 52 tests pass.
11 lines
272 B
Text
11 lines
272 B
Text
|
|
-- Rollback Migration 8: Revert to notebook-only chat sessions
|
|
|
|
DEFINE TABLE OVERWRITE refers_to
|
|
TYPE RELATION
|
|
FROM chat_session TO notebook;
|
|
|
|
-- Remove model_override field from chat_session
|
|
REMOVE FIELD model_override ON chat_session;
|
|
|
|
REMOVE FIELD command ON source;
|