# sql-ddl-to-json-schema

Parses MySQL and MariaDB DDL into a compact table model and JSON Schema draft-07 documents, one per table. Statements replay against an in-memory database, so ALTER TABLE, CREATE INDEX and DROP TABLE change the tables they touch. Only DDL is supported.

## Install

```sh
cargo add sql-ddl-to-json-schema
```

## Links

- [Repository](https://github.com/hey-jj/sql-ddl-to-json-schema)
- [crates.io](https://crates.io/crates/sql-ddl-to-json-schema)
- [docs.rs](https://docs.rs/sql-ddl-to-json-schema)
