Replace literal SQL with Diesel abstractions

This commit is contained in:
2026-07-18 17:00:32 +02:00
parent a727c9073d
commit ca5eb4e1ac
69 changed files with 3508 additions and 4285 deletions

View File

@@ -27,6 +27,7 @@ sqlite3 "$FIXTURE_DB" "PRAGMA journal_mode=WAL; PRAGMA foreign_keys=ON;"
sqlite3 "$SRC_DB" ".schema" \
| grep -v "sqlite_sequence" \
| grep -v "^CREATE TABLE IF NOT EXISTS \"refinery_schema_history\"" \
| sed '/^CREATE TABLE __diesel_schema_migrations/,/^);$/d' \
| sed '/^CREATE TABLE refinery_schema_history/,/^);$/d' \
| sqlite3 "$FIXTURE_DB"