Add TicketType model with validations and fix dropdown menu
- Create TicketType model with Party association and Ticket relationship - Add comprehensive validations for name, description, pricing, and date ranges - Generate migration for ticket_types table with all required fields - Add Alpine.js import to fix dropdown menu functionality - Update ticket model with validations for qr_code, price, and status
This commit is contained in:
7
test/fixtures/tickets.yml
vendored
Normal file
7
test/fixtures/tickets.yml
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
# Read about fixtures at https://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
|
||||
|
||||
one:
|
||||
qr_code: MyString
|
||||
|
||||
two:
|
||||
qr_code: MyString
|
||||
Reference in New Issue
Block a user