mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-19 19:55:16 +00:00
* 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>
12 lines
506 B
Ruby
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
|