Add regional leaderboard beta opt-in (#305)

This commit is contained in:
Max Wofford
2025-06-11 04:12:18 -04:00
committed by GitHub
parent 4bc0dd0ea8
commit c70c961431
12 changed files with 463 additions and 65 deletions

View File

@@ -0,0 +1,5 @@
class AddScopeToLeaderboards < ActiveRecord::Migration[8.0]
def change
add_column :leaderboards, :scope, :string
end
end

View File

@@ -0,0 +1,5 @@
class RemoveScopeFromLeaderboards < ActiveRecord::Migration[8.0]
def change
remove_column :leaderboards, :scope, :string
end
end

2
db/schema.rb generated
View File

@@ -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_06_11_062456) do
ActiveRecord::Schema[8.0].define(version: 2025_06_11_071124) do
create_schema "pganalyze"
# These are extensions that must be enabled in order to support this database