#
# TABLE STRUCTURE FOR: bot_telegram
#


CREATE TABLE `bot_telegram` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `token` varchar(128) NOT NULL,
  `username_bot` varchar(128) NOT NULL,
  `username_owner` varchar(128) NOT NULL,
  `id_telegram_owner` varchar(128) NOT NULL,
  `id_group_teknisi` varchar(50) NOT NULL,
  `create_by` int(11) NOT NULL,
  `is_active` int(11) NOT NULL,
  `notif_new_customer` int(11) NOT NULL,
  `notif_income_payment_gateway` int(11) NOT NULL,
  `notif_new_ticket` int(11) NOT NULL,
  `notif_update_ticket` int(11) NOT NULL,
  `text_new_customer` text NOT NULL,
  `text_income_payment_gateway` text NOT NULL,
  `text_new_ticket` text NOT NULL,
  `text_update_ticket` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

INSERT INTO `bot_telegram` (`id`, `token`, `username_bot`, `username_owner`, `id_telegram_owner`, `id_group_teknisi`, `create_by`, `is_active`, `notif_new_customer`, `notif_income_payment_gateway`, `notif_new_ticket`, `notif_update_ticket`, `text_new_customer`, `text_income_payment_gateway`, `text_new_ticket`, `text_update_ticket`) VALUES (1, '', '', '', '', '', 0, 0, 0, 0, 0, 0, '', '', '', '');


