Sha256: 7ca873b3e827b3453a7e755521acb881e67bcb990ef26f7b11799e04dd833a66

Contents?: true

Size: 414 Bytes

Versions: 52

Compression:

Stored size: 414 Bytes

Contents

class AddOauthClients < ActiveRecord::Migration[6.0]
  def change
    create_table :oauth_clients, id: :uuid do |t|
      t.string :name, null: false
      t.string :secret, null: false
      t.string :identifier, null: false
      t.jsonb :redirect_uris, default: [], null: false
    end

    add_index :oauth_clients, :redirect_uris, using: :gin
    add_index :oauth_clients, :identifier, unique: true
  end
end

Version data entries

52 entries across 52 versions & 1 rubygems

Version Path
osso-0.0.5.pre.alpha lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.4 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.27 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.26 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.25 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.24 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.23 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.22 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.21 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.20 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.19 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.18 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.17 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.16 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.15 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.14 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.13 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.12 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.11 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb
osso-0.0.3.9 lib/osso/db/migrate/20200413132407_add_oauth_clients.rb