add down migration for db and drop redundant masterkey field in db

This commit is contained in:
Alain Brenzikofer
2026-09-30 12:30:29 +02:00
parent f41a582b88
commit 4936e29a39
14 changed files with 92 additions and 77 deletions
@@ -984,7 +984,6 @@ CREATE TABLE badge_code_redemptions(
CREATE TABLE wallet_seeds(
wallet_seed_id INTEGER PRIMARY KEY AUTOINCREMENT,
entropy BLOB NOT NULL CHECK(length(entropy) IN(16, 20, 24, 28, 32)),
master BLOB NOT NULL CHECK(length(master) = 64),
next_account_index INTEGER CHECK(next_account_index BETWEEN 0 AND 2147483648),
single_seed INTEGER NOT NULL DEFAULT 1
) STRICT;