DT
Drizzle Team
help
Tables are not being generated
Looking for more? Join the community!
DT
Drizzle Team
help
DT
Drizzle Team
help
Want results from more Discord servers?
Recommended PostsInserting records into related tablesI have a few of tables that are related. I just need to know if there's a better approach when inserinArrayFor what i've seen pass an empty array to inArray is not supported, how to you handle this cases? usInvalid default value when using defaultNow()Receiving error:
```js
Invalid default value for 'updated_at' (errno 1067) (sqlstate 42000) (CallerTypesafe floats ?I'm trying to create a column called "weight". It needs to have values like "33.33" as floats.
I'm TS Errors in Custom Type citext exampleI want to include citext data type in my postgres schemas. I was delighted to see there's a completeDoes Drizzle support MySQL's LAST_INSERT_ID function?I'm wanting to return a newly created record in the db immediately after a POST. MySQL doesn't suppCheck for empty string in postgresHi. First post. 🙂 Started looking into migrating our project to drizzle today and am loving it so fHow do I set a column to be unique in drizzle syntax for mySQL?Would something like this be correct?
```js
export const authUsers = mysqlTable(
'auth_users',How to use JSON field in queryI've already made an issue on GitHub kind of pertaining to this issue, but I don't know if its actuaMySQL, PG proxy driver@Andrii Sherman
Hi, Andrew!
I noticed that the April milestone for drizzle-orm includes MySQL and PHow to create tables?So my understanding is that running a "migration" means creating the table with the schema in your donUpdateNow usageis onUpdateNow simlar to prisma's @updatedAt ? I.e., updated_at col is auto-updated. If so, is there