Commit Graph

1 Commits

Author SHA1 Message Date
a5152b2ea5 feat: add database sync script for local ↔ cloud data sync
Some checks failed
CI/CD Pipeline / Backend — Lint & Test (push) Has been cancelled
CI/CD Pipeline / Frontend — Lint & Build (push) Has been cancelled
CI/CD Pipeline / Docker — Build Check (push) Has been cancelled
Supports push (local→cloud) and pull (cloud→local) with:
- Table grouping (core/user_data/knowledge/logs), logs excluded by default
- --tables/--exclude for fine-grained control
- --mode upsert/replace/append
- --dry-run preview
- FK dependency ordering, auto-disable foreign key checks

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-06-30 00:15:22 +08:00