diff --git a/app/models/user.rb b/app/models/user.rb index c6e68b10..e964edbc 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -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 diff --git a/db/schema.rb b/db/schema.rb index 639e0dab..3fa6ac28 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -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"