Skip to content

MerlinMoos/prisma-sql-server-db-pull-issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prisma-sql-server-db-pull-issue

Prisma SQL Server DB Pull Issue

This repository demonstrates an issue with Prisma's db pull command when used with a SQL Server database. The issue arises when the database contains multiple schemas. The default dbo schema is getting ignored when other schemas are written in uppercase e.g. SEC is not working, but sec is working. The db pull command fails to generate the correct Prisma schema for this table.

Steps to Reproduce

run the following commands

docker-compose up test_mssql
npm install
npx prisma db pull

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages