bookings.CustomerID ─────────(FK)────── customers.CustomerID (PK) │ │ │ (who made the booking) │ (customer details) └── Links booking to customer └── Name, contact info, address, etc.
This example illustrates how to connect your application to a different database after the application start. Use this approach in a multi-tenant application where you need to associate every user or ...