mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 18:26:06 +02:00
Migration fix
This commit is contained in:
parent
2dc5fc8410
commit
3d6e04a9de
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class DataUpdateRegisntrarCodes < ActiveRecord::Migration
|
|||
next if r.code.present?
|
||||
r[:code] = r.name.parameterize
|
||||
puts "#{r.id}: #{r.changes.inspect}"
|
||||
r.save!
|
||||
r.save(validate: false)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue