Skip to content

Add SQL diff tests #27

@jschatz1

Description

@jschatz1

Problem

`kai-core/diff/sql.go` implements SQL-specific diffing logic, but the diff package test file only covers `diff.go` — there are no tests for SQL diffing or `format.go`.

What to Test

  • SQL schema comparison (CREATE TABLE, ALTER TABLE)
  • Column additions/removals
  • Index changes
  • Constraint changes
  • Output formatting

Files to Look At

  • `kai-core/diff/sql.go`
  • `kai-core/diff/format.go`
  • `kai-core/diff/diff_test.go` — existing tests to follow as a pattern

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions