Since there are foreign key constraints, the files should be run in the following order:
- author.sql
- book.sql
- coupon.sql
- user.sql
- product.sql
- publisher.sql
- role.sql
- warehouse.sql
- order.sql
- cart.sql
- book_genre.sql
- product_image.sql
- product_tag.sql
- cart_coupon.sql
- cart_product.sql
- order_coupon.sql
- order_product.sql
- publishes.sql
- stored_in.sql
- user_role.sql
- writes.sql