From f6ddee8f9a2d65dfa6c02adc402c1a61fa03d4a0 Mon Sep 17 00:00:00 2001 From: arekkas Date: Sun, 8 Apr 2018 20:57:07 +0200 Subject: [PATCH] oauth2: Resolves failing SQL store test cases --- oauth2/fosite_store_sql.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/oauth2/fosite_store_sql.go b/oauth2/fosite_store_sql.go index 6862ec3e6b..dbbad5fc59 100644 --- a/oauth2/fosite_store_sql.go +++ b/oauth2/fosite_store_sql.go @@ -58,7 +58,8 @@ func sqlSchemaUp(table string, id string) string { scope text NOT NULL, granted_scope text NOT NULL, form_data text NOT NULL, - session_data text NOT NULL + session_data text NOT NULL, + subject varchar(255) NOT NULL )`, }