Directus vibe coding

I’m creating an app with directus as a backend. And AI told to create database schema in directus using raw sql query. How to do run this raw sql? Is directus not vibecodong friendly? We need to manually create the database schema manually by hand one by one?

Use the MCP endpoint! That’s what it’s there for :slight_smile:

Directus doesn’t have any option in the admin UI or frontend to run raw SQL — it’s simply not a feature. If you create tables directly in the database using raw SQL, Directus will detect them and show an alert indicating unregistered schema changes. At that point, the user needs to register the table and define the metadata (fields, relations, permissions, UI settings) so Directus can fully manage it.