Add brand to puzzles
Some checks are pending
CI / scan_ruby (push) Waiting to run
CI / scan_js (push) Waiting to run
CI / lint (push) Waiting to run
CI / test (push) Waiting to run

This commit is contained in:
sto
2025-03-20 08:59:31 +01:00
parent 5339a864c0
commit 658c50fd04
6 changed files with 15 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
class AddBrandToPuzzle < ActiveRecord::Migration[8.0]
def change
add_column :puzzles, :brand, :string
end
end

3
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_03_15_124339) do
ActiveRecord::Schema[8.0].define(version: 2025_03_20_075601) do
create_table "active_storage_attachments", force: :cascade do |t|
t.string "name", null: false
t.string "record_type", null: false
@@ -54,6 +54,7 @@ ActiveRecord::Schema[8.0].define(version: 2025_03_15_124339) do
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.integer "contest_id", null: false
t.string "brand"
t.index ["contest_id"], name: "index_puzzles_on_contest_id"
end