Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ticket Schema #12

Closed
lecafard opened this issue Sep 24, 2019 · 8 comments
Closed

Add Ticket Schema #12

lecafard opened this issue Sep 24, 2019 · 8 comments

Comments

@lecafard
Copy link

Think we should create a table for individual tickets which can be linked to orders. Tickets will be generated when the order is marked as complete.

{
    id: uuid,
    showId: int,
    orderId: uuid,
    seat: string,
    // code for checking admissions
    code: string,
    used: boolean
}
@ad-t
Copy link
Owner

ad-t commented Sep 25, 2019

May I ask what the purpose of this would be (like an example use case)?

With the current approach made by @he-lium (found here), the order itself is the record of purchase and the entire order can be refunded if required. Additionally, we can combine the used and code fields in to @he-lium's approach so all of that required information is in one single record rather than scattered and containing duplicated information.

Additionally, the seats are no longer allocated, so we wouldn't require storing a seat identifier as well.

Let me know your thoughts @lecafard and @he-lium.

@lecafard
Copy link
Author

Is there no reserved seating in the MVP?

@ad-t
Copy link
Owner

ad-t commented Sep 25, 2019

Is there no reserved seating in the MVP?

Correct. We figured it was conceptually simpler as reserved seating isn't completely necessary and without reserved seating you're allowed more flexibility and are not limited to a single location.

@he-lium
Copy link
Collaborator

he-lium commented Sep 25, 2019

We'd probably still need separate tickets, because group orders might line up individually (and should have separate tickets with different codes to show/print).

Regarding the used field, are we using rbs to track who's entered (like a barcode or something)?

@ad-t
Copy link
Owner

ad-t commented Sep 25, 2019

We'd probably still need separate tickets, because group orders might line up individually (and should have separate tickets with different codes to show/print).

I see. So would the entire purpose of the ticket records be keeping track of which tickets have been "exchanged for a seat in the show"?

Regarding the used field, are we using rbs to track who's entered (like a barcode or something)?

If we go with the above, that could be something that RBS could track.

@he-lium
Copy link
Collaborator

he-lium commented Sep 26, 2019

Yes, the tickets track an individual's entry to the show.

If we go with the above, that could be something that RBS could track.

This is probably a stretch goal, we'd need a new webpage and QR scanners to do that

@ad-t
Copy link
Owner

ad-t commented Sep 26, 2019

I agree with it being a stretch goal. It would be a fantastic feature to have, but I think we should prioritise getting the base system out as soon as we can.

I'll create an issue for it for when we get around to the next iteration.

@Qantas94Heavy
Copy link
Collaborator

Basic ticket table has been created, expanded scope can be tracked in future issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants