diff --git a/db/migrate/20231103061213_add_terms_of_service_accepted_at_to_spree_users.rb b/db/migrate/20231103061213_add_terms_of_service_accepted_at_to_spree_users.rb new file mode 100644 index 0000000000..8fee916865 --- /dev/null +++ b/db/migrate/20231103061213_add_terms_of_service_accepted_at_to_spree_users.rb @@ -0,0 +1,5 @@ +class AddTermsOfServiceAcceptedAtToSpreeUsers < ActiveRecord::Migration[7.0] + def change + add_column :spree_users, :terms_of_service_accepted_at, :datetime + end +end diff --git a/db/schema.rb b/db/schema.rb index c73b14ac7a..91083ef7e9 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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"