Browse Source

get ready for changes to token DB

causefx 7 years ago
parent
commit
36003ebc8b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      api/functions/api-functions.php

+ 2 - 0
api/functions/api-functions.php

@@ -181,6 +181,8 @@ function createDB($path, $filename)
     		`id`	INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE,
     		`id`	INTEGER PRIMARY KEY AUTOINCREMENT UNIQUE,
     		`token`	TEXT UNIQUE,
     		`token`	TEXT UNIQUE,
     		`user_id`	INTEGER,
     		`user_id`	INTEGER,
+    		`browser`	TEXT,
+    		`ip`	TEXT,
             `created` DATE,
             `created` DATE,
             `expires` DATE
             `expires` DATE
     	);');
     	);');