Databases
Managed PostgreSQL and MySQL, connected to a project in one step.
Create a database#
Open Databases → New database, choose PostgreSQL or MySQL and a name. Each database has its own user and password, separate from every other database.
The number of databases per team depends on the plan (Free 2, Pro 5, Team 12); see the pricing page. The size of each database is measured and shown, but not limited.
Connect it to a project#
Connect a database to a project and choose the variable name (DATABASE_URL by default) and the environments. The connection string is added as a secret variable; redeploy the project to use it.
Credentials and password rotation#
Owners, admins and developers can view the credentials to connect from your own tools (Connection details: copy the connection string or each value). Rotate password creates a new password and updates the variables of connected projects; redeploy them afterwards.
Tables and SQL in the browser#
Open a database with Tables & SQL to work with it without a separate client (owners, admins and developers):
- Table editor: browse rows in a grid, filter and sort, double-click a cell to edit it, insert and delete rows. Rows are edited by their primary key.
- Create tables with a data type picker (or type your own type), primary key, defaults, required and unique columns, and relations to other tables. Drag columns into order.
- Definition: change or delete columns, create and delete indexes, add and remove relations (foreign keys), see and delete triggers.
- Schema: a diagram of all tables and how they relate.
- Functions & procedures: see their code, edit them in the SQL editor or delete them.
- SQL editor: run any SQL, several statements at a time, with queries saved in your browser. Results show at most 1,000 rows; each statement may run for 15 seconds.
Everything runs as the database's own user, never an administrator, and changes to the structure are recorded in the team's audit log.
Use a Supabase project#
Already on Supabase? Open Integrations → Supabase, sign in to Supabase and allow access. Then Connect to a project: choose the Supabase project and the Cloudvea project, and its SUPABASE_URL and SUPABASE_ANON_KEY are added as environment variables (optionally also for preview deployments). The service role key bypasses Row Level Security: add it only for server code; it is stored as a secret. Redeploy the project to use the variables.
Delete a database#
Deleting a database removes it and all its data, and disconnects it from projects. Only owners and admins can delete; you type the name to confirm.