0% found this document useful (0 votes)
51 views1 page

Cafe Flow Chart

This document contains the schema for several database tables including Users, Roles, Bookings, Orders, Order Details, Items, Categories, and Subcategories. The Users table stores information about users including their ID, name, email, address, status, password, and timestamps. The Roles and Model-has-roles tables define user roles and role assignments. Additional tables describe bookings, orders and order items, product items, and hierarchical category and subcategory structures.

Uploaded by

Wai Yan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views1 page

Cafe Flow Chart

This document contains the schema for several database tables including Users, Roles, Bookings, Orders, Order Details, Items, Categories, and Subcategories. The Users table stores information about users including their ID, name, email, address, status, password, and timestamps. The Roles and Model-has-roles tables define user roles and role assignments. Additional tables describe bookings, orders and order items, product items, and hierarchical category and subcategory structures.

Uploaded by

Wai Yan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Users

Model-has-roles Roles
Id Integer
Name Varcher(191) Id Integer Id Integer
Email Varcher(191) User-Id Integer Name Varcher
Address Text Role-Id Integer
Status Integer
Password Varcher(191)
Created at Timestamp
Updated at Timestamp

Booking
Id Integer Booking Detail
Name Varcher
Email Varcher Id Integer
Phone Varcher Booking-Id Integer
Date Date User-Id Integer
Order Order detail Time Time
Of People Integer
Id Unsigned Id Unsigned Message Text
Order no Varcher(191) Order Id Unsigned
Order date Date Item Id Unsigned
Total amount Int(11) Quantity Int(11)
Notes Text Created-at Timestamp
Status Int(6) Update-at Timestamp
User-Id Integer

Items
Category Subcategory Id Integer
Id Integer Coding Varcher
Name Varcher Id Integer Name Varcher
Photo Text Name Varcher Photo Text
Created-at Timestamp Category-Id Integer Price Int
Updated-at Timestamp Created-at Timestamp Discount Int
Updated-at Timestamp Description Text
Subcategory-Id Int
Category-at Timestamp
Update-at Timestamp

You might also like