DROP TABLE IF EXISTS `balance`;
CREATE TABLE `balance` (
                           `id` int NOT NULL AUTO_INCREMENT,
                           `user_id` int NOT NULL,
                           `main_user_id` int NOT NULL,
                           `credit` decimal(15,6) NOT NULL,
                           `avaible_credit` decimal(15,6) NOT NULL,
                           `request` tinyint(1) NOT NULL DEFAULT '0',
                           `request_amount` decimal(15,6) NOT NULL,
                           `status` tinyint(1) NOT NULL DEFAULT '0',
                           `insert_date` datetime NOT NULL,
                           `submit_date` datetime NOT NULL,
                           PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3;