diff --git a/db/migrate/20221114214508_add_input_placeholder_to_themes.rb b/db/migrate/20221114214508_add_input_placeholder_to_themes.rb new file mode 100644 index 00000000..ca3d5687 --- /dev/null +++ b/db/migrate/20221114214508_add_input_placeholder_to_themes.rb @@ -0,0 +1,11 @@ +# frozen_string_literal: true + +class AddInputPlaceholderToThemes < ActiveRecord::Migration[6.1] + def up + add_column :themes, :input_placeholder, :integer, default: 0x6C757D, null: false + end + + def down + remove_column :themes, :input_placeholder + end +end diff --git a/db/schema.rb b/db/schema.rb index ebffd650..1ba38cf6 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_14_214508) 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,8 @@ 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.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