Open VapidRush opened 5 months ago
Hi @VapidRush , Sorry for the delay in my reply. I am assuming that with a new database you have some rows in the seat_objs table. Is this correct?
Here I have added some seats and tables as sample data: https://github.com/pafavero/nextjs_book_a_seat/blob/main/sql/create_db.sql
INSERT INTO book_a_seat.table_objs ("name",x,y,width,height) VALUES
('table 2',49.0,17.0,166.0,38.0),
('table 1',599.0,87.0,46.0,161.0);
INSERT INTO book_a_seat.seat_objs ("name",x,y) VALUES
('chair 3',95.0,56.0),
('chair 4',168.0,55.0),
('chair 1',599.0,219.0),
('chair 2',599.0,111.0);
However, the normal user (example "user0") cannot add tables or seats. Only the administrator can. If you are logged into the application as "admin0", you can add new tables or seats:
Hello, I cam a cross your application and wanted to set it up on my system. unfortunately the tables, chairs etc isnt showing up. Im now sitting at it 2days in a row but cant figure out why it wont show everything. Do you know what the issue could be? Im running on Ubuntu
Thanks in advance and kind regards.