To create all the tables and run the Prisma client, please follow these steps:
- Migrate the changes from the Prisma Schema (make sure you have the same Prisma schema as the original repository):
npx prisma migrate dev --name init
- Once migrated, log in to Turso using the CLI:
turso auth login
- Once logged in, check the database connection:
turso db slug-link
- Then run the migration into the SQLite Turso DB:
turso db shell slug-link < ./prisma/migrations/20230922132717_init/migration.sql
Replace the migration number /<replace this with your migration number>_init/migration.sql
with the corresponding migration number in your Prisma folder.