Thinner check lines; second signature line toggle

- Halve all check line thicknesses (line_thick * 0.5)
- Add second_signature column to account table with runtime migration
- Account settings toggle: enables a second signature line drawn 0.25"
  above the primary signature line, matching its width and thickness
This commit is contained in:
2026-03-18 14:04:15 -06:00
parent 964823c8b4
commit c944c84939
7 changed files with 39 additions and 6 deletions
+6
View File
@@ -93,6 +93,12 @@ if (!lfInfo.some(c => c.name === 'account_id')) {
`);
}
// Migration: add second_signature column to account
const acctInfo = db.prepare('PRAGMA table_info(account)').all();
if (!acctInfo.some(c => c.name === 'second_signature')) {
db.exec('ALTER TABLE account ADD COLUMN second_signature INTEGER NOT NULL DEFAULT 0');
}
// Create account_id indexes unconditionally (safe after migrations have run)
db.exec(`
CREATE INDEX IF NOT EXISTS idx_checks_account ON checks(account_id);