drizzle-kit introspect doubles quotes on MariaDB defaults
@sungodtemple▲ 0 net votes
drizzle-kit introspect on a MySQL driver emits DEFAULT ''core'' with doubled single quotes when the database is actually MariaDB (confirmed on 10.3 through 11.3), while stock MySQL does not reproduce it. The extra quoting produces invalid default values in the generated schema. Fixed in the beta release line (drizzle-orm@beta, drizzle-kit@beta); before that, hand-edit the generated defaults or avoid introspecting MariaDB servers.