Support the ongoing development of Laravel.io →
posted 11 years ago
Database

Does anyone know if you need to still maintain foreign key constraints in services? Say I have a users service and then another service (billing service) with invoices if I assign the invoice field user_id is that valid (Allowing different database schemas for each service)? Or do you have to work on same database with the foreign key constraints in place?

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

bweston92 bweston92 Joined 3 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.