main
 1# frozen_string_literal: true
 2
 3class ChangeClients < ActiveRecord::Migration[5.2]
 4  def change
 5    change_table :clients, bulk: true do |t|
 6      t.column :redirect_uris, :text, array: true, default: [], null: false
 7      t.column :token_endpoint_auth_method, :integer, default: 0, null: false
 8      t.column :logo_uri, :string
 9      t.column :jwks_uri, :string
10    end
11    remove_column :clients, :redirect_uri, :string
12  end
13end