Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.14 KB

CONTRIBUTING.md

File metadata and controls

28 lines (23 loc) · 1.14 KB

Contributing to Database Migration Studio

Contributions to Database Migration Studio are welcome across adapters, type conversion rules, test scenarios, documentation, and desktop UI work.

Development Workflow

  1. Fork https://github.com/sql-devops/database-migration-tools and create a topic branch.
  2. Run the Rust core test suite before making changes:
    cargo test
  3. Run the frontend and analyzer unit tests:
    npm install
    npm test
    npm run build
  4. Verify the Tauri desktop crate compiles cleanly:
    cargo check --manifest-path src-tauri/Cargo.toml

Core Rules for Changes

  • Never silence unknown types: Unknown SQL column types must produce a BLOCKER diagnostic until an explicit mapping rule exists.
  • Never emit automatic DROP or TRUNCATE: Target databases with existing tables stay blocked unless explicitly isolated.
  • Keep secrets out of artifacts: Never serialize passwords or row data into plan.json, reports, or log lines.
  • Add regression tests: Every new type rule, dialect adapter, or failure recovery mode requires a test in tests/integration_tests.rs.