5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-28 19:16:23 +00:00
panel/db/migrate/20230328200129_add_consent_to_usuaries.rb
2023-04-10 12:33:24 -03:00

12 lines
512 B
Ruby

# frozen_string_literal: true
# Agrega consentimientos a les usuaries. No usamos un loop de
# Usuarie::CONSENT_FIELDS porque quizás agreguemos campos luego.
class AddConsentToUsuaries < ActiveRecord::Migration[6.1]
def change
add_column :usuaries, :privacy_policy_accepted_at, :datetime
add_column :usuaries, :terms_of_service_accepted_at, :datetime
add_column :usuaries, :code_of_conduct_accepted_at, :datetime
add_column :usuaries, :available_for_feedback_accepted_at, :datetime
end
end