Remove unused use case requires from `User` model

This commit is contained in:
Karina Kwiatek 2022-06-26 15:48:48 +02:00 committed by Karina Kwiatek
parent 73274988c1
commit 59c4507ec3
2 changed files with 1 additions and 7 deletions

View File

@ -1,8 +1,5 @@
# frozen_string_literal: true
require "use_case/user/ban"
require "use_case/user/unban"
class User < ApplicationRecord
include User::Relationship
include User::Relationship::Follow

View File

@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2022_06_20_193732) do
ActiveRecord::Schema.define(version: 2022_06_26_134554) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@ -301,9 +301,6 @@ ActiveRecord::Schema.define(version: 2022_06_20_193732) do
t.boolean "privacy_allow_public_timeline", default: true
t.boolean "privacy_allow_stranger_answers", default: true
t.boolean "privacy_show_in_search", default: true
t.boolean "permanently_banned", default: false
t.string "ban_reason"
t.datetime "banned_until"
t.integer "comment_smiled_count", default: 0, null: false
t.string "profile_header_file_name"
t.boolean "profile_header_processing"