From d07661d80f6f435edab21fa74708ec1aaa202483 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Thu, 26 Apr 2012 14:38:01 +0200 Subject: [PATCH] add NULLABLE for api_applications::id field, create Navigator Oauth2 application,api_applications::client_id field as UNIQ --- lib/conf.d/bases_structure.xml | 38 ++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/lib/conf.d/bases_structure.xml b/lib/conf.d/bases_structure.xml index e5a0bfecce..604e19086a 100644 --- a/lib/conf.d/bases_structure.xml +++ b/lib/conf.d/bases_structure.xml @@ -245,7 +245,7 @@ creator int(11) unsigned - + YES @@ -330,6 +330,22 @@ + + activated + int(1) + + + + + + + grant_password + int(1) + + + + + @@ -348,12 +364,30 @@ client_id - INDEX + UNIQUE client_id + + + null + null + desktop + phraseanet-navigator + + http://www.phraseanet.com + NOW() + NOW() + \alchemy\phraseanet\id\4f981093aebb66.06844599 + \alchemy\phraseanet\secret\4f9810d4b09799.51622662 + 5b6lIf + urn:ietf:wg:oauth:2.0:oob + 1 + 1 + + InnoDB