uralsmh
PPrisma
•Created by uralsmh on 8/4/2024 in #help-and-questions
Issues with Prisma 5.3.1: OpenSSL Version Mismatch during Build and Runtime in Docker
Will try but should i use 3.x.x? Isn't it up to date one
6 replies
PPrisma
•Created by uralsmh on 8/4/2024 in #help-and-questions
Issues with Prisma 5.3.1: OpenSSL Version Mismatch during Build and Runtime in Docker
@Jon Harrell nope. I have two confusion.
1- Do I really have to install openssl? If yes, do i have to install specifically
openssl-1.1.x
?
RUN --mount=type=cache,target=/var/cache/apt \
apt-get update && \
apt-get --no-install-recommends install -y openssl && \
rm -rf /var/lib/apt/lists/*
2- Should I really add the binaryTargets in Array?
6 replies
PPrisma
•Created by uralsmh on 8/4/2024 in #help-and-questions
Issues with Prisma 5.3.1: OpenSSL Version Mismatch during Build and Runtime in Docker
This is the full error when I ran docker container as well.
6 replies
PPrisma
•Created by uralsmh on 6/18/2024 in #help-and-questions
prisma is generating some crappy migrations for no reason
I could not able to fix above error without modifying the script with below..
2 replies
PPrisma
•Created by uralsmh on 5/24/2024 in #help-and-questions
ERROR: column "filename" of relation "ActionDependencyList" contains null values
ok I deleted all the records and re-run the npx prisma migrate dev, where seems worked now
12 replies
PPrisma
•Created by uralsmh on 5/24/2024 in #help-and-questions
ERROR: column "filename" of relation "ActionDependencyList" contains null values
Or run first
DELETE FROM public."ActionDependencyList";
and then run again npx prisma migrate dev
?12 replies
PPrisma
•Created by uralsmh on 5/24/2024 in #help-and-questions
ERROR: column "filename" of relation "ActionDependencyList" contains null values
Shall I edit below part manually in migration.sql?
ADD COLUMN "filename" TEXT NOT NULL
12 replies
PPrisma
•Created by uralsmh on 5/24/2024 in #help-and-questions
ERROR: column "filename" of relation "ActionDependencyList" contains null values
Seems the column is not created btw.. Sorry for dump question but how should I update the column to be nullabable?
Personally I would update your column to be nullable or to have a default value.
12 replies
PPrisma
•Created by uralsmh on 5/24/2024 in #help-and-questions
ERROR: column "filename" of relation "ActionDependencyList" contains null values
12 replies
PPrisma
•Created by uralsmh on 5/24/2024 in #help-and-questions
ERROR: column "filename" of relation "ActionDependencyList" contains null values
Should I run
npx prisma reset
before the npx prisma migrate dev
?12 replies
PPrisma
•Created by uralsmh on 5/24/2024 in #help-and-questions
ERROR: column "filename" of relation "ActionDependencyList" contains null values
@Jon Harrell is there any other command do I have to run before npx prisma migrate?
And what I understood, I need to delete all records in my database where i ve some records, am I right?
12 replies
PPrisma
•Created by uralsmh on 5/24/2024 in #help-and-questions
ERROR: column "filename" of relation "ActionDependencyList" contains null values
This is my model where I made some changes.
Output of migration.sql when I ran
npx prisma migrate dev
12 replies