From cc6771ea7054ab54209ef45f6902c2d75c754fc4 Mon Sep 17 00:00:00 2001 From: Alexander Minkin Date: Sat, 7 May 2022 11:55:38 +0300 Subject: [PATCH] Coin: add sql 'migration' file Still, there is no separate table to check which migrations were applied --- install/sqls/00024-toncoin-fetching.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 install/sqls/00024-toncoin-fetching.sql diff --git a/install/sqls/00024-toncoin-fetching.sql b/install/sqls/00024-toncoin-fetching.sql new file mode 100644 index 00000000..6de0c925 --- /dev/null +++ b/install/sqls/00024-toncoin-fetching.sql @@ -0,0 +1,6 @@ +CREATE TABLE `cryptotransactions` ( + `id` bigint(20) NOT NULL AUTO_INCREMENT, + `hash` varchar(45) COLLATE utf8mb4_general_nopad_ci NOT NULL, + `lt` bigint(20) NOT NULL, + PRIMARY KEY (`id`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_nopad_ci;