diff --git a/db/migrate/20221115194933_add_privacy_hide_social_graph.rb b/db/migrate/20221115194933_add_privacy_hide_social_graph.rb new file mode 100644 index 00000000..dde49d97 --- /dev/null +++ b/db/migrate/20221115194933_add_privacy_hide_social_graph.rb @@ -0,0 +1,9 @@ +class AddPrivacyHideSocialGraph < ActiveRecord::Migration[6.1] + def up + add_column :users, :privacy_hide_social_graph, :boolean, default: false + end + + def down + remove_column :users, :privacy_hide_social_graph + end +end diff --git a/db/schema.rb b/db/schema.rb index ebffd650..563a2ac3 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_11_13_110942) do +ActiveRecord::Schema.define(version: 2022_11_15_194933) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -228,6 +228,7 @@ ActiveRecord::Schema.define(version: 2022_11_13_110942) do t.integer "raised_accent", default: 16250871 t.integer "light_color", default: 16316922 t.integer "light_text", default: 0 + t.integer "input_placeholder", default: 7107965, null: false t.index ["user_id", "created_at"], name: "index_themes_on_user_id_and_created_at" end @@ -292,9 +293,9 @@ ActiveRecord::Schema.define(version: 2022_11_13_110942) do t.datetime "export_created_at" t.string "otp_secret_key" t.integer "otp_module", default: 0, null: false - t.datetime "deleted_at" - t.boolean "privacy_require_user", default: false t.boolean "privacy_lock_inbox", default: false + t.boolean "privacy_require_user", default: false + t.boolean "privacy_hide_social_graph", default: false t.index ["confirmation_token"], name: "index_users_on_confirmation_token", unique: true t.index ["email"], name: "index_users_on_email", unique: true t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true