[MERGED] osmo-hlr[master]: sql: auc_3g: set sqn NOT NULL DEFAULT 0

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Feb 1 13:01:17 UTC 2017


Neels Hofmeyr has submitted this change and it was merged.

Change subject: sql: auc_3g: set sqn NOT NULL DEFAULT 0
......................................................................


sql: auc_3g: set sqn NOT NULL DEFAULT 0

Change-Id: Ibb765f30295b441e563bb0e06ed39987f79a60d6
---
M sql/hlr.sql
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Holger Freyther: Looks good to me, approved



diff --git a/sql/hlr.sql b/sql/hlr.sql
index e05587b..354043c 100644
--- a/sql/hlr.sql
+++ b/sql/hlr.sql
@@ -63,7 +63,7 @@
 	k		VARCHAR(32) NOT NULL,
 	op		VARCHAR(32),
 	opc		VARCHAR(32),
-	sqn		INTEGER
+	sqn		INTEGER NOT NULL DEFAULT 0
 );
 
 CREATE UNIQUE INDEX IF NOT EXISTS idx_subscr_imsi ON subscriber (imsi);

-- 
To view, visit https://gerrit.osmocom.org/1717
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ibb765f30295b441e563bb0e06ed39987f79a60d6
Gerrit-PatchSet: 2
Gerrit-Project: osmo-hlr
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Holger Freyther <holger at freyther.de>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list