aboutsummaryrefslogtreecommitdiffstats
path: root/sql/hlr.sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql/hlr.sql')
-rw-r--r--sql/hlr.sql9
1 files changed, 7 insertions, 2 deletions
diff --git a/sql/hlr.sql b/sql/hlr.sql
index ad57661..98e586d 100644
--- a/sql/hlr.sql
+++ b/sql/hlr.sql
@@ -43,7 +43,12 @@ CREATE TABLE subscriber (
-- Timestamp of last location update seen from subscriber
-- The value is a string which encodes a UTC timestamp in granularity of seconds.
last_lu_seen TIMESTAMP default NULL,
- last_lu_seen_ps TIMESTAMP default NULL
+ last_lu_seen_ps TIMESTAMP default NULL,
+
+ -- When a LU was received via a proxy, that proxy's hlr_number is stored here,
+ -- while vlr_number reflects the MSC on the far side of that proxy.
+ vlr_via_proxy VARCHAR,
+ sgsn_via_proxy VARCHAR
);
CREATE TABLE subscriber_apn (
@@ -78,4 +83,4 @@ CREATE UNIQUE INDEX idx_subscr_imsi ON subscriber (imsi);
-- Set HLR database schema version number
-- Note: This constant is currently duplicated in src/db.c and must be kept in sync!
-PRAGMA user_version = 4;
+PRAGMA user_version = 5;