Replaced imsi to subscriber ID
[platform/core/connectivity/stc-manager.git] / data / traffic_db.sql
index fda62f8..dd83d65 100644 (file)
@@ -11,7 +11,7 @@ CREATE TABLE IF NOT EXISTS statistics (
   is_roaming INT,
   hw_net_protocol_type INT,
   ifname TEXT,
-  imsi TEXT,
+  subscriber_id TEXT,
   ground INT
 );
 
@@ -22,7 +22,7 @@ CREATE TABLE IF NOT EXISTS restrictions (
   ifname TEXT,
   rst_state INT,
   roaming INT,
-  imsi TEXT NOT NULL,
+  subscriber_id TEXT NOT NULL,
   data_limit BIGINT,
   data_warn_limit BIGINT
 );
@@ -34,4 +34,3 @@ CREATE TABLE IF NOT EXISTS counters (
   data_counter BIGINT,
   PRIMARY KEY (restriction_id)
 );
-