SurfSense/surfsense_backend/alembic/versions
2026-03-22 01:41:15 -07:00
..
0_initial_schema.py feat: add migration 0 for initial schema setup 2026-01-14 17:04:37 +02:00
1_add_github_connector_enum.py chore: linting 2026-01-15 00:05:53 -08:00
2_add_linear_connector_enum.py
3_add_linear_connector_to_documenttype_.py
4_add_linkup_api_enum.py
5_remove_title_char_limit.py Make migration 5 idempotent 2026-01-13 20:12:58 +02:00
6_change_podcast_content_to_transcript.py
7_remove_is_generated_column.py
8_add_content_hash_to_documents.py fix migration version 8 2025-12-13 21:45:45 +02:00
9_add_discord_connector_enum_and_documenttype.py
10_update_chattype_enum_to_qna_report_structure.py chore: linting 2026-01-15 00:05:53 -08:00
11_add_llm_config_table_and_relationships.py
12_add_logs_table.py
13_add_jira_connector_enums.py
14_add_confluence_connector_enums.py
15_add_clickup_connector_enums.py
16_fix_connector_unique_constraint.py
17_add_google_calendar_connector_enums.py
18_add_google_gmail_connector_enums.py
19_add_airtable_connector_enums.py
20_add_openrouter_to_litellmprovider_enum.py
21_add_luma_connector_enums.py
22_add_cometapi_to_litellmprovider_enum.py
23_associate_connectors_with_search_spaces.py
24_fix_null_chat_types.py Make migration 24 idempotent 2026-01-13 20:13:08 +02:00
25_migrate_llm_configs_to_search_spaces.py
26_add_language_column_to_llm_configs.py
27_add_searxng_connector_enum.py
28_add_chinese_litellmprovider_enum.py
29_add_unique_identifier_hash_to_documents.py fix migration version 29 2025-12-13 21:46:39 +02:00
30_add_baidu_search_connector_enum.py
31_add_elasticsearch_connector_enums.py
32_add_periodic_indexing_fields.py
33_add_page_limits_to_user.py
34_add_podcast_staleness_detection.py Make migration 34 idempotent 2026-01-13 20:13:13 +02:00
35_update_litellmprovider_enum_comprehensive.py
36_remove_fk_constraints_for_global_llm_configs.py
37_add_system_prompts_to_searchspaces.py
38_add_webcrawler_connector_enum.py
39_add_rbac_tables.py
40_move_llm_preferences_to_searchspace.py fix migration version 40 | upgrade 2025-12-13 21:47:20 +02:00
41_backfill_rbac_for_existing_searchspaces.py
42_drop_user_search_space_preferences.py
43_add_blocknote_fields_to_documents.py fix migration version 43 | upgrade 2025-12-13 21:48:13 +02:00
44_add_bookstack_connector_enums.py
45_add_updated_at_to_documents.py fix migration version 45 | upgrade 2025-12-13 21:48:54 +02:00
46_remove_last_edited_at_from_documents.py fix alembic version 46 2025-12-13 22:04:53 +02:00
47_copy_created_at_to_updated_at.py
48_add_note_to_documenttype_enum.py fix: fixed linting for some files 2025-12-16 20:25:50 +05:30
49_migrate_old_chats_to_new_chat.py chore: linting 2026-01-15 00:05:53 -08:00
50_remove_podcast_chat_columns.py refactor: remove chat-related fields and legacy podcast generation function 2025-12-21 23:31:11 -08:00
51_add_new_llm_config_table.py feat: migrated to surfsense deep agent 2025-12-23 01:16:25 -08:00
52_rename_llm_preference_columns.py Make migration 52 idempotent 2026-01-13 20:13:30 +02:00
53_cleanup_old_llm_configs.py chore: ruff format 2025-12-23 02:56:13 -08:00
54_add_google_drive_connector_enums.py feat: added circleback connector 2025-12-30 09:00:59 -08:00
55_rename_google_drive_connector_to_file.py Make migration 55 idempotent 2026-01-13 20:13:50 +02:00
56_add_circleback_connector_enums.py chore: linting 2026-01-01 22:56:37 -08:00
57_allow_multiple_connectors_per_type.py chore: linting 2026-01-07 19:10:53 -08:00
58_unique_connector_name_per_space_user.py chore: linting 2026-01-07 19:10:53 -08:00
59_add_teams_connector_enums.py lint 2026-01-09 13:53:09 -08:00
60_add_surfsense_docs_tables.py chore: linting 2026-01-12 14:17:15 -08:00
61_add_chat_visibility_and_created_by.py feat: added shared chats 2026-01-13 00:17:12 -08:00
62_add_mcp_connector_type.py chore: linting 2026-01-15 00:05:53 -08:00
63_allow_multiple_connectors_with_unique_.py chore: linting 2026-01-15 00:05:53 -08:00
64_add_user_profile_columns.py fix: migrations 2026-01-14 15:19:00 -08:00
65_add_message_author_id.py refactor: remove read tracking from mentions (prep for notification center) 2026-01-16 19:15:10 +02:00
66_add_notifications_table_and_electric_replication.py chore: correct file path for Electric SQL user initialization script in Docker deployment documentation 2026-02-25 03:56:32 +05:30
67_add_pg_trgm_index_for_document_title_search.py chore: update redundant comments 2026-01-18 20:13:51 +05:30
68_add_chat_comments_table.py chore: resolve migration file conflicts 2026-01-19 17:10:11 +02:00
69_add_chat_comment_mentions_table.py chore: resolve migration file conflicts 2026-01-19 17:10:11 +02:00
70_add_comments_permissions_to_roles.py chore: resolve migration file conflicts 2026-01-19 17:10:11 +02:00
71_add_comments_electric_replication.py feat: add Electric SQL replication for chat_comment_mentions 2026-01-19 17:28:44 +02:00
72_simplify_rbac_roles.py refactor: bulk updating Admin to Editor roles 2026-01-20 03:11:49 -08:00
73_add_user_memories_table.py ruff 2026-01-21 09:47:17 -08:00
74_no_op.py refactor: remove unused COMPOSIO_CONNECTOR migration and linting 2026-01-22 16:43:08 -08:00
75_add_chat_session_state_table.py Merge upstream/dev with live collaboration features 2026-01-22 23:00:42 +02:00
76_add_live_collaboration_tables_electric_replication.py Merge upstream/dev with live collaboration features 2026-01-22 23:00:42 +02:00
77_add_thread_id_to_chat_comments.py refactor: remove unused COMPOSIO_CONNECTOR migration and linting 2026-01-22 16:43:08 -08:00
78_add_obsidian_connector.py add missing migration 2026-01-22 20:58:18 -08:00
79_add_composio_connector_enums.py Merge remote-tracking branch 'upstream/dev' into feat/composio 2026-01-23 14:35:17 +05:30
80_add_user_incentive_tasks_table.py feat: added incentive credits system 2026-01-26 23:32:30 -08:00
81_add_public_chat_features.py refactor(backend): two-phase synchronous cloning 2026-01-28 00:17:29 +02:00
82_add_podcast_status_and_thread.py fix(database): handle duplicate podcast_status type creation gracefully 2026-01-29 15:16:08 -05:00
83_add_reddit_follow_incentive_task.py chore: linting 2026-01-28 22:15:43 -08:00
84_migrate_global_llm_configs_to_auto_mode.py hotpatch(cloud): add llm load balancing 2026-01-29 15:28:31 -08:00
85_add_public_chat_snapshots_table.py chore: linting 2026-02-01 21:17:24 -08:00
86_add_document_created_by.py chore: linting 2026-02-03 13:32:11 -08:00
87_add_document_connector_id.py chore: ran linting 2026-02-03 01:43:38 +05:30
88_make_podcast_transcript_nullable.py feat(migrations): possible podcast fix on prod 2026-02-02 17:02:21 -08:00
89_make_podcast_file_location_nullable.py feat(migrations): make podcast file_location nullable 2026-02-02 17:56:47 -08:00
90_add_public_sharing_permissions_to_roles.py fix: renumber migration to avoid version conflict with upstream 2026-02-03 14:46:33 +02:00
91_add_discord_join_incentive_task.py feat: add new incentive task type for Discord 2026-02-03 22:32:39 -08:00
92_add_refresh_tokens_table.py Add refresh token auth routes and utilities 2026-02-05 17:29:50 +02:00
93_add_image_generations_table.py feat: add residential proxy configuration for web crawling and YouTube transcript fetching 2026-02-05 20:44:13 -08:00
94_add_access_token_to_image_generations.py refactor: change alelmbic migration number and made migrations idempotent 2026-02-06 12:32:55 +05:30
95_add_document_status_column.py refactor: change alelmbic migration number and made migrations idempotent 2026-02-06 12:32:55 +05:30
96_add_shared_memories_table.py Add shared_memories table (SUR-152) 2026-02-06 16:30:50 +02:00
97_add_github_models_to_litellmprovider_enum.py fix: migration no 2026-02-09 15:11:33 -08:00
98_add_user_id_to_llm_and_image_configs.py chore: remove migration script for adding user_id to new_llm_configs and image_generation_configs 2026-02-11 03:48:46 +05:30
99_add_reports_table.py chore: ran linting 2026-02-13 02:43:26 +05:30
100_add_report_group_id.py chore: ran linting 2026-02-13 02:43:26 +05:30
101_add_source_markdown_to_documents.py feat: update migration to skip blocknode conversion and update transaction handling in chat routes 2026-02-20 22:43:25 -08:00
102_add_enable_summary_to_connectors.py feat: added configable summary calculation and various improvements 2026-02-26 18:24:57 -08:00
103_add_last_login_to_user.py feat: add last_login column to user table and update user login tracking 2026-03-08 18:24:29 +05:30
104_add_notification_composite_indexes.py feat: implement batch unread counts for notifications to reduce API calls and improve performance 2026-03-10 01:26:37 -07:00
105_add_chunks_document_id_index.py refactor: correct alembic migration no 2026-03-10 12:54:42 -07:00
106_add_minimax_to_litellmprovider_enum.py feat: complete MiniMax LLM provider integration 2026-03-13 07:27:47 +08:00
107_add_video_presentations_table.py refactor: update video presentation status enum creation to use SQL execution for better handling of duplicates 2026-03-22 01:41:15 -07:00
e55302644c51_add_github_connector_to_documenttype_.py