Allow for longer redirect uri lists

This commit is contained in:
theworldbright 2015-10-22 23:25:57 -07:00
parent 82600003b3
commit 2a002d90c4
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ class CreateOAuthApplications < ActiveRecord::Migration
t.string :client_secret t.string :client_secret
t.string :client_name t.string :client_name
t.string :redirect_uris t.text :redirect_uris
t.string :response_types t.string :response_types
t.string :grant_types t.string :grant_types
t.string :application_type, default: "web" t.string :application_type, default: "web"

View file

@ -278,7 +278,7 @@ ActiveRecord::Schema.define(version: 20151003142048) do
t.string "client_id", limit: 255 t.string "client_id", limit: 255
t.string "client_secret", limit: 255 t.string "client_secret", limit: 255
t.string "client_name", 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 "response_types", limit: 255
t.string "grant_types", limit: 255 t.string "grant_types", limit: 255
t.string "application_type", limit: 255, default: "web" t.string "application_type", limit: 255, default: "web"