This repository has been archived on 2021-11-24. You can view files and clone it, but cannot push or open issues or pull requests.
phone_app/db/migrate/20210629065500_add_mails_to_v_bdas.rb
2021-08-23 10:26:02 +02:00

14 lines
278 B
Ruby

class AddMailsToVBdas < ActiveRecord::Migration[6.0]
def change
add_column :v_bdas, :send_via, :string
add_column :v_bdas, :sended, :boolean
add_column :v_bdas, :email, :string
VBda.find_each do |v|
v.update_info
v.save
end
end
end