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>
This commit is contained in:
Sylvain Munaut 2009-12-27 19:26:12 +01:00 committed by Harald Welte
parent deebb113ac
commit 77d334ac4d
1 changed files with 2 additions and 2 deletions

View File

@ -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 ("