Commit Graph

3 Commits

Author SHA1 Message Date
tigerenwork 884eaa1ed8 feat: table-scoped schema sync, optional FK migration, pipeline edit UI
- pipelines: new schema_scope ('selected'|'all') and include_fk fields with
  lightweight ALTER TABLE migration for existing DBs
- atlas: computeSchemaExcludes() limits diff/apply to selected tables via
  repeated --exclude (bare-name globs); avoids unsupported-type failures on
  unrelated tables (e.g. TiDB VECTOR) and prevents DROP of target-only tables
- fk toggle off appends --exclude '*[type=foreign-key]'; FKs referencing
  excluded parent tables are skipped by Atlas automatically
- pipeline form extracted to shared component; new /pipelines/[id]/edit page
  with full prefill; edit entries in list and detail pages
2026-08-09 17:35:55 +08:00
tigerenwork fcb0f2e299 feat: local web UI for DB migration via Atlas (schema) + sling (data)
- Connections CRUD with test (sling conns test) and table discovery (sling conns discover)
- Pipelines: source/target, mode, schema_sync toggle, per-table PK/UK for incremental
- Run engine: atlas schema apply then sling run -r, JSON log parsing, SSE live logs
- Runs history with log replay; dashboard with binary health check
- Atlas dev schema on target server (sling_ui_atlas_dev) instead of docker dev-url
- full-refresh translated to truncate when schema_sync is on to preserve Atlas-built DDL
2026-08-09 17:10:17 +08:00
tigerenwork efc1e413b0 Initial commit from Create Next App 2026-08-09 15:54:43 +08:00