feat: soft deleted exchange add

This commit is contained in:
icy
2025-11-06 20:39:46 +08:00
parent 75db4c01e3
commit 08f57fe5c9
5 changed files with 82 additions and 105 deletions

View File

@@ -43,6 +43,7 @@ CREATE TABLE IF NOT EXISTS exchanges (
aster_user TEXT DEFAULT '',
aster_signer TEXT DEFAULT '',
aster_private_key TEXT DEFAULT '',
deleted BOOLEAN DEFAULT FALSE,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (id, user_id),