gagocarrilloedgar / yume

yume

Home Page:https://milista.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Yume - milista.xyz

Migrations

  1. Make sure to be loggedin in Planetscale
pscale auth login
  1. Create a Migration:

Run the following command to create a new migration:

 npx prisma db push

Unlike the prisma migrate dev command, it will not create a migrations folder containing a SQL file with the SQL used to update the schema in your PlanetScale database. PlanetScale will be tracking your migrations in this workflow.

Also make sure that if safe migrations are enabled the datasource should point to the same connection (branch)

datasource db {
  provider     = "mysql"
  url          = env("DEV_DATABASE_URL")
  relationMode = "prisma"
}

Seeds

About

yume

https://milista.xyz


Languages

Language:TypeScript 96.3%Language:JavaScript 3.7%