Make asking for missing pieces in forms optional
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddMissingPiecesToContest < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
add_column :contests, :missing_pieces, :boolean
|
||||
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: 2026_07_30_055752) do
|
||||
ActiveRecord::Schema[8.0].define(version: 2026_08_25_071844) do
|
||||
create_table "active_storage_attachments", force: :cascade do |t|
|
||||
t.string "name", null: false
|
||||
t.string "record_type", null: false
|
||||
@@ -107,6 +107,7 @@ ActiveRecord::Schema[8.0].define(version: 2026_07_30_055752) do
|
||||
t.boolean "show_stopwatch"
|
||||
t.boolean "organizer_form"
|
||||
t.integer "event_id"
|
||||
t.boolean "missing_pieces"
|
||||
t.index ["event_id"], name: "index_contests_on_event_id"
|
||||
t.index ["slug"], name: "index_contests_on_slug", unique: true
|
||||
t.index ["user_id"], name: "index_contests_on_user_id"
|
||||
|
||||
Reference in New Issue
Block a user