Navigation

Foreign key constraints

You can now use foreign key constraints inside of your PlanetScale databases. You can also import existing internet-accessible MySQL or MariaDB databases that use foreign key constraints to PlanetScale.

To opt-in an existing database, go to your database’s ”Settings” page and enroll on the ”Beta features” page. See the full documentation for more details about the beta.

Read more