Drift detected after generation the schema and init migration script on mssql
hello community
does someone have a idea?
I setup a existing mssql database with prisma db pull
the schema which was generated looks good.
Also i created the init migration sql file in 0_init and applied that to the database
after I run prisma migrate dev I got the following error
Drift detected: Your database schema is not in sync with your migration history.
The following is a summary of the differences between the expected database schema given your migrations files, and the actual schema of the database.
It should be understood as the set of changes to get from the expected schema to the actual schema.
[*] Changed the
[+] Added primary key on columns (ID)
)
does someone have a idea?
I setup a existing mssql database with prisma db pull
the schema which was generated looks good.
Also i created the init migration sql file in 0_init and applied that to the database
after I run prisma migrate dev I got the following error
Drift detected: Your database schema is not in sync with your migration history.
The following is a summary of the differences between the expected database schema given your migrations files, and the actual schema of the database.
It should be understood as the set of changes to get from the expected schema to the actual schema.
[*] Changed the
MARKET_COMMENT table[+] Added primary key on columns (ID)
)