Skip to content

Commit

Permalink
Merge pull request #3506 from 18F/fix_remove_x509_dn_uuid
Browse files Browse the repository at this point in the history
fixed strong_migrations error on remove_column
  • Loading branch information
achapm authored Jan 2, 2020
2 parents e549775 + 4d1af10 commit 8899b68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/models/user.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
class User < ApplicationRecord
self.ignored_columns = %w[x509_dn_uuid]
include NonNullUuid

devise(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class DropX509DnUuidColumnFromUser < ActiveRecord::Migration[5.1]
def change
remove_column :users, :x509_dn_uuid
safety_assured do
remove_column :users, :x509_dn_uuid
end
end
end

0 comments on commit 8899b68

Please sign in to comment.