From ad0305f899271a233eeae779fbc052e1c39303e1 Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Fri, 7 Aug 2020 12:00:56 +0100 Subject: [PATCH] sql: Allow longer address length Now you don't have to spend an hour in gdb looking for an exception that gets swallowed. --- sql/openmonero.sql | 2 +- sql/openmonero_test.sql | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sql/openmonero.sql b/sql/openmonero.sql index 2b33695..30a23ac 100755 --- a/sql/openmonero.sql +++ b/sql/openmonero.sql @@ -35,7 +35,7 @@ USE `openmonero`; DROP TABLE IF EXISTS `Accounts`; CREATE TABLE IF NOT EXISTS `Accounts` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, - `address` varchar(95) NOT NULL, + `address` varchar(100) NOT NULL, `viewkey_hash` char(64) NOT NULL, `scanned_block_height` int(10) UNSIGNED NOT NULL DEFAULT '0', `scanned_block_timestamp` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00', diff --git a/sql/openmonero_test.sql b/sql/openmonero_test.sql index 2329724..b32e102 100755 --- a/sql/openmonero_test.sql +++ b/sql/openmonero_test.sql @@ -35,7 +35,7 @@ USE `openmonero_test`; DROP TABLE IF EXISTS `Accounts`; CREATE TABLE IF NOT EXISTS `Accounts` ( `id` bigint(20) UNSIGNED NOT NULL AUTO_INCREMENT, - `address` varchar(95) NOT NULL, + `address` varchar(100) NOT NULL, `viewkey_hash` char(64) NOT NULL, `scanned_block_height` int(10) UNSIGNED NOT NULL DEFAULT '0', `scanned_block_timestamp` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',