Feature/backend schedule schema migration - #168
Closed
Alexander-Noah wants to merge 8 commits into
Closed
Conversation
Replace the existing service, migration, and container scaffolding with the local layered packages and minimal FastAPI entry point. BREAKING CHANGE: the previous timeapp package, health API, Alembic migrations, and backend container setup are removed.
Package the service under src/timeflow, align the versioned API, and add reproducible local and Docker validation. BREAKING CHANGE: backend imports and startup commands now use the timeflow package and timeflow.main:app.
Removed instructions for cloning and starting the project.
* Revert "feat(backend): add voice parsing pipeline (1024XEngineer#101)" This reverts commit a720cd0. * Revert "feat(websocket): add WS foundational module and message type catalog (1024XEngineer#96)" This reverts commit 53d7585.
Add an additive Alembic migration for the PostgreSQL account, schedule, and occurrence override tables defined in Wiki New-Architecture-interface-design. Keep the existing MVP schedules table unchanged by creating the new cloud schedule table as schedules_cloud; enforce ownership, recurrence, time/location, reminder, revision, and soft-delete invariants with reversible indexes and constraints. This migration only defines database structure and does not change ORM or application behavior. Refs: 1024XEngineer#158
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
改了什么
20260807_0003accountsschedules_cloudschedule_occurrence_overridesupgrade/downgrade为什么
本次迁移依据 Wiki
New-Architecture-interface-designv3.10 的第 6.1–6.3 节,补齐云端账号、日程和周期例外数据结构。现有 MVP
schedules表仍被当前 ORM 和运行逻辑使用,因此采用新增schedules_cloud的方式,避免覆盖或破坏已有表。此次只修改数据库迁移,不修改 ORM、Alembic 环境或应用业务逻辑。验证
bash backend/scripts/check.sh20260807_0003