More updates to api

This commit is contained in:
laf
2014-09-16 22:19:28 +01:00
parent edec1c0c7d
commit 96c0457a75
3 changed files with 89 additions and 7 deletions
+1
View File
@@ -0,0 +1 @@
CREATE TABLE `api_tokens` ( `id` int(11) NOT NULL AUTO_INCREMENT, `user_id` int(11) NOT NULL, `token_hash` varchar(32) NOT NULL, `description` varchar(100) NOT NULL, `disabled` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `token_hash` (`token_hash`)) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=latin1;