Skip to content

drewcorlin1/prisma-index-expression-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an example repo demonstrating an issue in prisma 4.1 when trying to update an index to use an expression manually.

Steps to reproduce

  • Run postgres: docker-compose up -d postgres
  • Install dependencies: npm i
  • Run existing migration: npx prisma migrate deploy
  • Attempt to create migration for schema updates: npx prisma migrate dev --name "Add last name to user"

About

Example for showing an issue with prisma and postgres indices using expressions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages