diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2009-12-27 19:26:12 +0100 |
---|---|---|
committer | Harald Welte <laforge@netfilter.org> | 2010-01-03 10:16:15 +0100 |
commit | 77d334ac4d64fec8a0708160fc2753c6354eb869 (patch) | |
tree | 66e8d454fe4d39f8d90e4c91deefda6945e7e520 /openbsc | |
parent | deebb113ac23ffc8b929828f940054c85a695e7b (diff) |
db: Fix type of algorithm_id (NUMERIC -> INTEGER)
This fixes a DB warning and no need for NUMERIC here.
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'openbsc')
-rw-r--r-- | openbsc/src/db.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/openbsc/src/db.c b/openbsc/src/db.c index 57ea9baf6..bfc7d9310 100644 --- a/openbsc/src/db.c +++ b/openbsc/src/db.c @@ -126,8 +126,8 @@ static char *create_stmts[] = { ")", "CREATE TABLE IF NOT EXISTS AuthKeys (" "id INTEGER PRIMARY KEY AUTOINCREMENT, " - "subscriber_id NUMERIC UNIQUE NOT NULL, " - "algorithm_id NUMERIC NOT NULL, " + "subscriber_id INTEGER UNIQUE NOT NULL, " + "algorithm_id INTEGER NOT NULL, " "a3a8_ki BLOB " ")", "CREATE TABLE IF NOT EXISTS AuthTuples (" |