Support remaining pieces in completions and scoreboards
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddRemainingPiecesToCompletion < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
add_column :completions, :remaining_pieces, :integer
|
||||
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_07_14_115208) do
|
||||
ActiveRecord::Schema[8.0].define(version: 2025_10_28_131431) do
|
||||
create_table "active_storage_attachments", force: :cascade do |t|
|
||||
t.string "name", null: false
|
||||
t.string "record_type", null: false
|
||||
@@ -64,6 +64,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_07_14_115208) do
|
||||
t.string "display_time_from_start"
|
||||
t.string "display_relative_time"
|
||||
t.integer "message_id"
|
||||
t.integer "remaining_pieces"
|
||||
t.index ["contest_id"], name: "index_completions_on_contest_id"
|
||||
t.index ["contestant_id"], name: "index_completions_on_contestant_id"
|
||||
t.index ["message_id"], name: "index_completions_on_message_id"
|
||||
|
||||
Reference in New Issue
Block a user