Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- app/controllers/auth/sessions_controller.rb
  Minor conflict due to glitch-soc's theming code
This commit is contained in:
Thibaut Girka
2019-09-18 17:25:56 +02:00
180 changed files with 1537 additions and 432 deletions

View File

@@ -0,0 +1,9 @@
# frozen_string_literal: true
class AddRememberTokenIndex < ActiveRecord::Migration[5.2]
disable_ddl_transaction!
def change
add_index :users, :remember_token, algorithm: :concurrently, unique: true
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2019_09_04_222339) do
ActiveRecord::Schema.define(version: 2019_09_17_213523) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -756,6 +756,7 @@ ActiveRecord::Schema.define(version: 2019_09_04_222339) do
t.index ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true
t.index ["created_by_application_id"], name: "index_users_on_created_by_application_id"
t.index ["email"], name: "index_users_on_email", unique: true
t.index ["remember_token"], name: "index_users_on_remember_token", unique: true
t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true
end