I highly recommend learning at least the basics of designing a database.
Even as a developer it's very useful to know how to model data effectively, and it helps you getting into more 'advanced' subjects like indexing and performance.
How would you even go about developing the data layer in Laravel without knowing how to model a database?
orders also require special attention. When making references to users for example you have to keep in mind that if a user deletes his account, you may still need to keep the orders (for financial / legal reasons), and you might have lost required data since the user the user_id field refers to no longer exists.
You keep the total price in the order entity, why is it duplicated in the create_book_order_table?
I highly recommend learning at least the basics of designing a database.
Even as a developer it's very useful to know how to model data effectively, and it helps you getting into more 'advanced' subjects like indexing and performance.
How would you even go about developing the data layer in Laravel without knowing how to model a database?
I have designed this. take a look at this and suggest more ideas please..
At first glance:
Media
User
Category
Author
Book
table: create_author_book_table
table: create_book_category_table
Review
Order
table: create_book_order_table