From ddbaf2b87038b0c17f051b8c0c40939b2cbe579d Mon Sep 17 00:00:00 2001 From: lishengzhao Date: Mon, 20 Apr 2015 13:42:58 +0800 Subject: [PATCH] Update initial client-details data: more comments --- others/database/initial_data.ddl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/others/database/initial_data.ddl b/others/database/initial_data.ddl index 35427ad..44565aa 100644 --- a/others/database/initial_data.ddl +++ b/others/database/initial_data.ddl @@ -6,6 +6,8 @@ values -- initial oauth client details test data +-- 'unity-client' support browser,mobile-device visit +-- 'mobile-client' only support mobile-device visit truncate oauth_client_details; insert into oauth_client_details (client_id, resource_ids, client_secret, scope, authorized_grant_types, @@ -15,6 +17,6 @@ values ('unity-client','unity-resource', 'unity', 'read,write','password,authorization_code,refresh_token,implicit', null,'ROLE_UNITY',null, null,null, now(), 0, 0), -('mobile-client','mobile-resource', 'mobile', 'read,write','password,authorization_code,refresh_token,implicit', +('mobile-client','mobile-resource', 'mobile', 'read,write','password,refresh_token', null,'ROLE_MOBILE',null, null,null, now(), 0, 0);