mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 17:30:23 +08:00
Introduce aether-data-schema and driver-specific schema generation for Postgres, MySQL, and SQLite. Split data backends, lifecycle, repositories, and gateway runtime integration across database drivers. Verified with cargo fmt --all --check, cargo clippy --workspace --all-targets -- -D warnings, and cargo test --workspace.
13 lines
720 B
Markdown
13 lines
720 B
Markdown
# Generated Schema
|
|
|
|
This directory is generated by `aether-data-schema` from `../logical/*.toml`.
|
|
It is checked in only as an auditable compiler output and drift-detection fixture.
|
|
|
|
Do not edit files in this directory by hand. Update `../logical/*.toml`, then run:
|
|
|
|
```bash
|
|
bash crates/aether-data/schema/compose_schema.sh generate
|
|
```
|
|
|
|
Runtime migrations are not loaded from this directory. The executable SQL remains under `crates/aether-data/migrations/{postgres,mysql,sqlite}`, and the Postgres bootstrap snapshot is generated at build time from `crates/aether-data/schema/bootstrap/postgres` into the crate build output until a generated fragment is deliberately promoted into the driver-specific schema manifests.
|