mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
Add terms_of_service_accepted_at to spree_user
It will be used to track when a user has accepted changed to ToS
This commit is contained in:
committed by
Konrad
parent
5f7760c3cc
commit
16cb72adbc
@@ -0,0 +1,5 @@
|
||||
class AddTermsOfServiceAcceptedAtToSpreeUsers < ActiveRecord::Migration[7.0]
|
||||
def change
|
||||
add_column :spree_users, :terms_of_service_accepted_at, :datetime
|
||||
end
|
||||
end
|
||||
@@ -932,6 +932,7 @@ ActiveRecord::Schema[7.0].define(version: 20231003000823494) do
|
||||
t.boolean "show_api_key_view", default: false, null: false
|
||||
t.string "provider"
|
||||
t.string "uid"
|
||||
t.datetime "terms_of_service_accepted_at"
|
||||
t.index ["confirmation_token"], name: "index_spree_users_on_confirmation_token", unique: true
|
||||
t.index ["email"], name: "email_idx_unique", unique: true
|
||||
t.index ["persistence_token"], name: "index_users_on_persistence_token"
|
||||
|
||||
Reference in New Issue
Block a user