Question
Answer
There are no native type mappings for SQLite in Prisma, because SQLite doesn’t have any types that aren’t already covered by the Prisma scalars. Note that if you declare a `VARCHAR` with a certain length in SQLite, it will get ignored and the type of the column will just be `TEXT`. In that case, declaring a `String` type in Prisma has the exact same effect.
Nathaniel Bajo
02/01/2022, 9:57 AMnikolasburk
VARCHAR
with a certain length in SQLite, it will get ignored and the type of the column will just be TEXT
(that’s documented in the SQLite docs here). So, in that case, declaring a String
type in Prisma has the exact same effect. Hope this helps 🙂Nathaniel Bajo
02/01/2022, 10:53 AMNathaniel Bajo
02/01/2022, 10:53 AMnikolasburk
Nathaniel Bajo
02/01/2022, 11:04 AM