diff --git a/db/migrate/20220620193732_add_anon_display_name_to_profiles.rb b/db/migrate/20220620193732_add_anon_display_name_to_profiles.rb new file mode 100644 index 00000000..82a56f3e --- /dev/null +++ b/db/migrate/20220620193732_add_anon_display_name_to_profiles.rb @@ -0,0 +1,5 @@ +class AddAnonDisplayNameToProfiles < ActiveRecord::Migration[6.1] + def change + add_column :profiles, :anon_display_name, :string + end +end diff --git a/db/schema.rb b/db/schema.rb index 2fc1be5b..639e0dab 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_14_141439) do +ActiveRecord::Schema.define(version: 2022_06_20_193732) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" @@ -147,6 +147,7 @@ ActiveRecord::Schema.define(version: 2022_06_14_141439) do t.string "motivation_header", default: "", null: false t.datetime "created_at", null: false t.datetime "updated_at", null: false + t.string "anon_display_name" t.index ["user_id"], name: "index_profiles_on_user_id" end