Skip to content

Commit

Permalink
Improve safety
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Dolski committed Jan 24, 2024
1 parent 697568a commit 76f240c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class AddInstitutionsSamlSpEntityIdColumn < ActiveRecord::Migration[7.1]
def change
add_column :institutions, :saml_sp_entity_id, :string
unless column_exists?(:institutions, :saml_sp_entity_id)
add_column :institutions, :saml_sp_entity_id, :string
end
end
end

0 comments on commit 76f240c

Please sign in to comment.