From c3eab04eb991719bdd77c8f68039d4ab5bf61a7b Mon Sep 17 00:00:00 2001
From: Lionel Gauthier <lionel.gauthier@eurecom.fr>
Date: Tue, 29 Jul 2014 11:02:23 +0000
Subject: [PATCH] Inc size of SQN (32 bits -> 64 bits), 48 bits needed.

git-svn-id: http://svn.eurecom.fr/openair4G/trunk@5620 818b1a75-f10b-46b9-bf7c-635c3b92a50f
---
 openair-cn/OPENAIRHSS/db/oai_db.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openair-cn/OPENAIRHSS/db/oai_db.sql b/openair-cn/OPENAIRHSS/db/oai_db.sql
index 7201bb4d36..8a66bce258 100644
--- a/openair-cn/OPENAIRHSS/db/oai_db.sql
+++ b/openair-cn/OPENAIRHSS/db/oai_db.sql
@@ -159,7 +159,7 @@ CREATE TABLE IF NOT EXISTS `users` (
   `key` varbinary(16) NOT NULL DEFAULT '0' COMMENT 'UE security key',
   `RFSP-Index` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT 'An index to specific RRM configuration in the E-UTRAN. Possible values from 1 to 256',
   `urrp_mme` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'UE Reachability Request Parameter indicating that UE activity notification from MME has been requested by the HSS.',
-  `sqn` int(10) unsigned zerofill NOT NULL COMMENT '',
+  `sqn` bigint(20) unsigned zerofill NOT NULL COMMENT '',
   `rand` varbinary(16) NOT NULL COMMENT '',
   PRIMARY KEY (`imsi`,`mmeidentity_idmmeidentity`),
   KEY `fk_users_mmeidentity_idx1` (`mmeidentity_idmmeidentity`)
-- 
GitLab