Merge branch 'develop' into standalone_develop
This commit is contained in:
commit
79cbeb846b
|
@ -48,8 +48,8 @@ class CreateDoorkeeperTables < ActiveRecord::Migration[5.2]
|
|||
# characters. More info on custom token generators in:
|
||||
# https://github.com/doorkeeper-gem/doorkeeper/tree/v3.0.0.rc1#custom-access-token-generator
|
||||
#
|
||||
# t.text :token, null: false
|
||||
t.string :token, null: false
|
||||
t.text :token, null: false
|
||||
# t.string :token, null: false
|
||||
|
||||
t.string :refresh_token
|
||||
t.integer :expires_in
|
||||
|
@ -73,7 +73,7 @@ class CreateDoorkeeperTables < ActiveRecord::Migration[5.2]
|
|||
t.string :previous_refresh_token, null: false, default: ""
|
||||
end
|
||||
|
||||
add_index :oauth_access_tokens, :token, unique: true
|
||||
# add_index :oauth_access_tokens, :token, unique: true
|
||||
add_index :oauth_access_tokens, :refresh_token, unique: true
|
||||
add_foreign_key(
|
||||
:oauth_access_tokens,
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
class ChangeOauthAccessTokensTokenColumnLength < ActiveRecord::Migration[5.2]
|
||||
def change
|
||||
change_column :oauth_access_tokens, :token, :text
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue