simplify the profile settings form

This commit is contained in:
Alex Turchyn
2023-06-07 12:04:11 +03:00
parent 219ad2b4a7
commit c34ea8451f
14 changed files with 43 additions and 163 deletions
@@ -1,8 +0,0 @@
class AddConfirmationToUsers < ActiveRecord::Migration[7.0]
def change
add_column :users, :confirmation_token, :string, unique: true
add_column :users, :confirmed_at, :datetime
add_column :users, :confirmation_sent_at, :datetime
add_column :users, :unconfirmed_email, :string, unique: true
end
end
+1 -5
View File
@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[7.0].define(version: 2023_06_06_210549) do
ActiveRecord::Schema[7.0].define(version: 2023_05_19_144036) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -115,10 +115,6 @@ ActiveRecord::Schema[7.0].define(version: 2023_06_06_210549) do
t.datetime "deleted_at"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.string "confirmation_token"
t.datetime "confirmed_at"
t.datetime "confirmation_sent_at"
t.string "unconfirmed_email"
t.index ["account_id"], name: "index_users_on_account_id"
t.index ["email"], name: "index_users_on_email", unique: true
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true