This commit is contained in:
Davidson Gomes 2024-06-07 13:31:23 -03:00
parent da687041af
commit 2cb6bdb38b

View File

@ -75,13 +75,11 @@ Run one of the commands below for the non-existence of a database.
- **MySQL or MariaDB**: - **MySQL or MariaDB**:
```sh ```sh
# Set the environment variable DATABASE_PROVIDER=mysql
npx prisma migrate dev --name init --schema ./prisma/mysql-schema.prisma npx prisma migrate dev --name init --schema ./prisma/mysql-schema.prisma
``` ```
- **PostgreSQL**: - **PostgreSQL**:
```sh ```sh
# Set the environment variable DATABASE_PROVIDER=postgressql
npx prisma migrate dev --name init --schema ./prisma/postgresql-schema.prisma npx prisma migrate dev --name init --schema ./prisma/postgresql-schema.prisma
``` ```