[PR #4322] [MERGED] chore: recreate snapshot table & remove old data #6196

Closed
opened 2026-03-23 22:22:09 +00:00 by mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/AppFlowy-IO/AppFlowy/pull/4322
Author: @appflowy
Created: 1/7/2024
Status: Merged
Merged: 1/7/2024
Merged by: @appflowy

Base: mainHead: recreate_snapshot_table


📝 Commits (3)

  • e104550 chore: recreate snapshot table & remove old data
  • ce791d6 chore: disable test
  • 5cf663c chore: fmt

📊 Changes

19 files changed (+110 additions, -153 deletions)

View changed files

📝 frontend/appflowy_tauri/src-tauri/Cargo.lock (+7 -7)
📝 frontend/appflowy_tauri/src-tauri/Cargo.toml (+7 -7)
📝 frontend/rust-lib/Cargo.lock (+7 -7)
📝 frontend/rust-lib/Cargo.toml (+7 -7)
📝 frontend/rust-lib/event-integration/tests/document/local_test/snapshot_test.rs (+22 -21)
frontend/rust-lib/flowy-core/src/deps_resolve/collab_backup.rs (+0 -79)
📝 frontend/rust-lib/flowy-core/src/deps_resolve/mod.rs (+0 -1)
📝 frontend/rust-lib/flowy-core/src/lib.rs (+0 -3)
📝 frontend/rust-lib/flowy-database2/src/manager.rs (+1 -1)
📝 frontend/rust-lib/flowy-document/src/manager.rs (+1 -1)
📝 frontend/rust-lib/flowy-folder/src/manager.rs (+1 -1)
frontend/rust-lib/flowy-sqlite/migrations/2024-01-07-041005_recreate_snapshot_table/down.sql (+2 -0)
frontend/rust-lib/flowy-sqlite/migrations/2024-01-07-041005_recreate_snapshot_table/up.sql (+15 -0)
📝 frontend/rust-lib/flowy-sqlite/src/schema.rs (+0 -9)
📝 frontend/rust-lib/flowy-user/src/manager.rs (+3 -1)
frontend/rust-lib/flowy-user/src/migrations/database_vacuum.rs (+24 -0)
📝 frontend/rust-lib/flowy-user/src/migrations/mod.rs (+1 -0)
📝 frontend/rust-lib/flowy-user/src/migrations/session_migration.rs (+3 -6)
📝 frontend/rust-lib/flowy-user/src/services/user_sql.rs (+9 -2)

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/AppFlowy-IO/AppFlowy/pull/4322 **Author:** [@appflowy](https://github.com/appflowy) **Created:** 1/7/2024 **Status:** ✅ Merged **Merged:** 1/7/2024 **Merged by:** [@appflowy](https://github.com/appflowy) **Base:** `main` ← **Head:** `recreate_snapshot_table` --- ### 📝 Commits (3) - [`e104550`](https://github.com/AppFlowy-IO/AppFlowy/commit/e104550cf4f77783fbec0f7daafa95dbf5c34a10) chore: recreate snapshot table & remove old data - [`ce791d6`](https://github.com/AppFlowy-IO/AppFlowy/commit/ce791d64368d6cece9399b67c661c953e971fd64) chore: disable test - [`5cf663c`](https://github.com/AppFlowy-IO/AppFlowy/commit/5cf663c6a305a77ebbd3c46ce1634f4a1a4780dd) chore: fmt ### 📊 Changes **19 files changed** (+110 additions, -153 deletions) <details> <summary>View changed files</summary> 📝 `frontend/appflowy_tauri/src-tauri/Cargo.lock` (+7 -7) 📝 `frontend/appflowy_tauri/src-tauri/Cargo.toml` (+7 -7) 📝 `frontend/rust-lib/Cargo.lock` (+7 -7) 📝 `frontend/rust-lib/Cargo.toml` (+7 -7) 📝 `frontend/rust-lib/event-integration/tests/document/local_test/snapshot_test.rs` (+22 -21) ➖ `frontend/rust-lib/flowy-core/src/deps_resolve/collab_backup.rs` (+0 -79) 📝 `frontend/rust-lib/flowy-core/src/deps_resolve/mod.rs` (+0 -1) 📝 `frontend/rust-lib/flowy-core/src/lib.rs` (+0 -3) 📝 `frontend/rust-lib/flowy-database2/src/manager.rs` (+1 -1) 📝 `frontend/rust-lib/flowy-document/src/manager.rs` (+1 -1) 📝 `frontend/rust-lib/flowy-folder/src/manager.rs` (+1 -1) ➕ `frontend/rust-lib/flowy-sqlite/migrations/2024-01-07-041005_recreate_snapshot_table/down.sql` (+2 -0) ➕ `frontend/rust-lib/flowy-sqlite/migrations/2024-01-07-041005_recreate_snapshot_table/up.sql` (+15 -0) 📝 `frontend/rust-lib/flowy-sqlite/src/schema.rs` (+0 -9) 📝 `frontend/rust-lib/flowy-user/src/manager.rs` (+3 -1) ➕ `frontend/rust-lib/flowy-user/src/migrations/database_vacuum.rs` (+24 -0) 📝 `frontend/rust-lib/flowy-user/src/migrations/mod.rs` (+1 -0) 📝 `frontend/rust-lib/flowy-user/src/migrations/session_migration.rs` (+3 -6) 📝 `frontend/rust-lib/flowy-user/src/services/user_sql.rs` (+9 -2) </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
mirror 2026-03-23 22:22:09 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#6196
No description provided.