refactor(data): remove MySQL and SQLite support

Use PostgreSQL as the only database backend across runtime, schema tooling, installation, Compose, and CI. Update regression tests and reject removed drivers explicitly.
This commit is contained in:
elky
2026-09-07 00:09:42 +08:00
parent b5ed802277
commit 2281f2b754
298 changed files with 793 additions and 134804 deletions
@@ -1,6 +1,6 @@
use std::path::PathBuf;
use aether_data_schema::dialect::{mysql, postgres, sqlite};
use aether_data_schema::dialect::postgres;
use aether_data_schema::{check_generated_dir, generate_loaded_to_dir, load_schema_sources};
use clap::{Parser, Subcommand, ValueEnum};
@@ -39,8 +39,6 @@ enum Command {
#[derive(Debug, Clone, Copy, ValueEnum)]
enum Driver {
Postgres,
Mysql,
Sqlite,
}
fn main() -> Result<(), Box<dyn std::error::Error>> {
@@ -66,8 +64,6 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let schema = load_schema_sources(schema_dir)?.schema;
let output = match driver {
Driver::Postgres => postgres::emit_schema(&schema),
Driver::Mysql => mysql::emit_schema(&schema),
Driver::Sqlite => sqlite::emit_schema(&schema),
};
print!("{output}");
}