From 2a002d90c447f564e84c9a7cb581c27b3c123918 Mon Sep 17 00:00:00 2001 From: theworldbright <kent@kentshikama.com> Date: Thu, 22 Oct 2015 23:25:57 -0700 Subject: [PATCH] Allow for longer redirect uri lists --- db/migrate/20150613202109_create_o_auth_applications.rb | 2 +- db/schema.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/db/migrate/20150613202109_create_o_auth_applications.rb b/db/migrate/20150613202109_create_o_auth_applications.rb index f0fd5ca67e..c403686229 100644 --- a/db/migrate/20150613202109_create_o_auth_applications.rb +++ b/db/migrate/20150613202109_create_o_auth_applications.rb @@ -6,7 +6,7 @@ class CreateOAuthApplications < ActiveRecord::Migration t.string :client_secret t.string :client_name - t.string :redirect_uris + t.text :redirect_uris t.string :response_types t.string :grant_types t.string :application_type, default: "web" diff --git a/db/schema.rb b/db/schema.rb index d9e539bc84..ef4f3daf34 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -278,7 +278,7 @@ ActiveRecord::Schema.define(version: 20151003142048) do t.string "client_id", limit: 255 t.string "client_secret", limit: 255 t.string "client_name", limit: 255 - t.string "redirect_uris", limit: 255 + t.text "redirect_uris", limit: 65535 t.string "response_types", limit: 255 t.string "grant_types", limit: 255 t.string "application_type", limit: 255, default: "web" -- GitLab