-
Notifications
You must be signed in to change notification settings - Fork 27
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
[FEAT]:Creating new Compartment and Seats (Schema Change) #20
Comments
@HARISH-1222 |
Hi @Mayank2808sharma, can you add level tags here ?, that would be nice, thank you. 😃 |
Can you add level3 for this I Updated the schema and implemented my login in all the routes that depend on booking and Train and for the get train list route, It takes overtime to build. by the use of a seat table, we can assign different counts of seats for each compartment Thank you for your understanding if not that's also ok😊. |
Hi, Chinmay this side, I'd like to work on this issue.
Please assign this to me. Thanks! |
Hi @chinmay3012 I already completed the task and make PR. |
Hi @HARISH-1222 thanks for the confirmation . |
Hi there 👋. I read your code and it looks good. And based on your code most of the issues are super good
I have a new feature called Compartment seat allocation
instead of just giving the total_seats we can assign the compartment
train table is (one to many )related to compartment table
Here I gonna create a Seats table(default seat count: 10 seats (need your seg)) that is related to the compartment
with that, we can get the seat number like compartmentName+seatNo (because I have one feature idea once we done this feature)
1, The Admin needs to create a Compartment first with the default seat count that I mentioned earlier
2, After that we can assign multiple compartments to the train
3, Once the book the train that will come with compartmentName+seatNo
open to your suggestions 😊.
If you like, I will be happy to contribute....
The text was updated successfully, but these errors were encountered: