Database Connections
Connect your projects to databases for persistent data storage.
Supported Databases
- PostgreSQL: Full-featured relational database.
- MySQL: Popular open-source database.
- MongoDB: Document-based NoSQL database.
- Redis: In-memory caching and data store.
- SQLite: Lightweight file-based database.
Setting Up a Database
- Go to Project Settings → Databases.
- Click "Add Database" and choose your provider.
- Enter the connection string or credentials.
- Test the connection and save.
Using Prisma
Codeezly has built-in support for Prisma ORM. Define your schema in prisma/schema.prisma and run migrations with:
npx prisma migrate dev