From 1610260fca111f4da14072f5193b330805e26256 Mon Sep 17 00:00:00 2001 From: Aaron Allen Date: Sat, 27 Jun 2026 20:26:19 -0500 Subject: [PATCH] chore: exclude migrations from editorconfig and restore 0110 content The 0110 reindent changed an applied migration's embedded sqlx checksum, bricking existing dev DBs (migration 110 was previously applied but has been modified). Migrations are append-only historical SQL, so exclude them from editorconfig-checker instead of rewriting their content. --- .config/editorconfig-checker.json | 1 + migrations/0110_rekey_wallet_journal_per_wallet.sql | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.config/editorconfig-checker.json b/.config/editorconfig-checker.json index c9361ffd..8ddd9110 100755 --- a/.config/editorconfig-checker.json +++ b/.config/editorconfig-checker.json @@ -5,6 +5,7 @@ ".mise", ".mise-data", "coverage", + "migrations", "target", "tmp" ] diff --git a/migrations/0110_rekey_wallet_journal_per_wallet.sql b/migrations/0110_rekey_wallet_journal_per_wallet.sql index c548abc5..bc02177c 100644 --- a/migrations/0110_rekey_wallet_journal_per_wallet.sql +++ b/migrations/0110_rekey_wallet_journal_per_wallet.sql @@ -57,7 +57,7 @@ CREATE TABLE character_wallet_journal_new ( INSERT OR IGNORE INTO character_wallet_journal_new (id, character_id, date, description, ref_type, amount, balance, context_id, - context_id_type, first_party_id, reason, second_party_id, tax, tax_receiver_id) + context_id_type, first_party_id, reason, second_party_id, tax, tax_receiver_id) SELECT id, character_id, date, description, ref_type, amount, balance, context_id, context_id_type, first_party_id, reason, second_party_id, tax, tax_receiver_id @@ -89,7 +89,7 @@ CREATE TABLE character_wallet_transaction_new ( INSERT OR IGNORE INTO character_wallet_transaction_new (transaction_id, character_id, client_id, date, is_buy, is_personal, journal_ref_id, - location_id, quantity, type_id, unit_price) + location_id, quantity, type_id, unit_price) SELECT transaction_id, character_id, client_id, date, is_buy, is_personal, journal_ref_id, location_id, quantity, type_id, unit_price @@ -127,7 +127,7 @@ CREATE TABLE corporation_wallet_journal_new ( INSERT OR IGNORE INTO corporation_wallet_journal_new (id, corporation_id, division, date, description, ref_type, amount, balance, context_id, - context_id_type, first_party_id, reason, second_party_id, tax, tax_receiver_id) + context_id_type, first_party_id, reason, second_party_id, tax, tax_receiver_id) SELECT id, corporation_id, division, date, description, ref_type, amount, balance, context_id, context_id_type, first_party_id, reason, second_party_id, tax, tax_receiver_id @@ -159,7 +159,7 @@ CREATE TABLE corporation_wallet_transaction_new ( INSERT OR IGNORE INTO corporation_wallet_transaction_new (transaction_id, corporation_id, division, client_id, date, is_buy, journal_ref_id, - location_id, quantity, type_id, unit_price) + location_id, quantity, type_id, unit_price) SELECT transaction_id, corporation_id, division, client_id, date, is_buy, journal_ref_id, location_id, quantity, type_id, unit_price -- knotmirror 0.0.1