From b2f34c04176f94315c826ecf9bf8fd1084b3cd94 Mon Sep 17 00:00:00 2001 From: bingyuyap Date: Sat, 31 Aug 2024 09:07:49 +0800 Subject: [PATCH] ft: add chains table Signed-off-by: bingyuyap --- database/fast-transfer-schema.sql | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/database/fast-transfer-schema.sql b/database/fast-transfer-schema.sql index 39460067..b7268e9b 100644 --- a/database/fast-transfer-schema.sql +++ b/database/fast-transfer-schema.sql @@ -107,3 +107,9 @@ CREATE TABLE redeem_swaps ( relaying_fee BIGINT NOT NULL, redeem_time TIMESTAMP NOT NULL ); + +-- Normalized table for chain name reference +CREATE TABLE chains ( + id INTEGER PRIMARY KEY, + name VARCHAR(255) NOT NULL UNIQUE +)