hackatime/db/migrate/20260219125517_add_public_profile_fields_to_users.rb
Mahad Kalam e3456be187
goaaaal! (#985)
* Add goals

* Fix up some migrations

* Formatting

* Simplify migration

* Update test/controllers/settings_goals_controller_test.rb

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Update test/controllers/settings_goals_controller_test.rb

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>

* Fix svelte-check issues, make CI less janky on dev

* svelte-check/fix tests

* Fix N+1s

* Formatting!

* More tests, fix anonymization and N+1

---------

Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
2026-02-19 18:47:01 +00:00

12 lines
506 B
Ruby

class AddPublicProfileFieldsToUsers < ActiveRecord::Migration[8.1]
def change
add_column :users, :display_name_override, :string
add_column :users, :profile_bio, :text
add_column :users, :profile_github_url, :string
add_column :users, :profile_twitter_url, :string
add_column :users, :profile_bluesky_url, :string
add_column :users, :profile_linkedin_url, :string
add_column :users, :profile_discord_url, :string
add_column :users, :profile_website_url, :string
end
end