mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Add omit_from_leaderboard to users
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddOmitFromLeaderboardToUsers < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
add_column :users, :omit_from_leaderboard, :boolean, default: false, null: false
|
||||
end
|
||||
end
|
||||
3
db/schema.rb
generated
3
db/schema.rb
generated
@@ -10,7 +10,7 @@
|
||||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[8.0].define(version: 2025_05_06_155521) do
|
||||
ActiveRecord::Schema[8.0].define(version: 2025_05_07_174855) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_catalog.plpgsql"
|
||||
|
||||
@@ -308,6 +308,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_05_06_155521) do
|
||||
t.string "github_username"
|
||||
t.string "slack_username"
|
||||
t.string "slack_neighborhood_channel"
|
||||
t.boolean "omit_from_leaderboard", default: false, null: false
|
||||
t.index ["slack_uid"], name: "index_users_on_slack_uid", unique: true
|
||||
t.index ["timezone"], name: "index_users_on_timezone"
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user