Sha256: 7fc0403b62f3cf54f094fc295312d6eec09da62efada5028c35d1363672f3d1a
Contents?: true
Size: 449 Bytes
Versions: 19
Compression:
Stored size: 449 Bytes
Contents
class AddIdentityProviderServiceEnum < ActiveRecord::Migration[6.0] def change def up execute <<-SQL CREATE TYPE identity_provider_service AS ENUM ('OKTA', 'AZURE'); SQL change_column :identity_providers, :service, :identity_provider_service end def down chnage_column :identity_providers, :service, :text execute <<-SQL DROP TYPE identity_provider_service; SQL end end end
Version data entries
19 entries across 19 versions & 1 rubygems