CREATE TABLE `state_group_addresses` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `group_id` int(10) unsigned NOT NULL,
  `public_key` binary(32) NOT NULL,
  `address_type_id` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE(`public_key`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
