/*
 Navicat Premium Data Transfer

 Source Server         : 192.168.4.95
 Source Server Type    : MySQL
 Source Server Version : 100621 (10.6.21-MariaDB-0ubuntu0.22.04.2)
 Source Host           : 192.168.4.95:3306
 Source Schema         : SPGW_DB

 Target Server Type    : MySQL
 Target Server Version : 100621 (10.6.21-MariaDB-0ubuntu0.22.04.2)
 File Encoding         : 65001

 Date: 17/06/2025 17:00:45
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for subscriberData
-- ----------------------------
DROP TABLE IF EXISTS `subscriberData`;
CREATE TABLE `subscriberData`  (
  `imsi` varchar(16) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `s11_local_teid` int NOT NULL,
  `s11_remote_teid` int NOT NULL,
  `ue_ps_state` varchar(12) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `ue_ims_state` varchar(12) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `ps_ip` varchar(16) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `ims_ip` varchar(16) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL,
  `granted_bytes` int NOT NULL,
  `used_bytes` int NOT NULL,
  `ccr_update_threshold` int NOT NULL,
  PRIMARY KEY (`imsi`) USING BTREE
) ENGINE = MyISAM CHARACTER SET = latin1 COLLATE = latin1_swedish_ci ROW_FORMAT = Dynamic;

SET FOREIGN_KEY_CHECKS = 1;
