© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago•
2 replies
mcgrealife

MySQL column type: "Generated"?

Does drizzle support defining generated columns? https://planetscale.com/courses/mysql-for-developers/schema/generated-columns
Something like a columnType
sql
sql


If not, is it dangerous to send MySQL a custom DDL statement to Add a generated column?

The schema wouldn't not be aware of it, but maybe I could still reference the generated column in
sql
sql
commands.

Thank you
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Generated Column Unique Constraint
Drizzle TeamDTDrizzle Team / help
10mo ago
MySQL select().from() type
Drizzle TeamDTDrizzle Team / help
2y ago
Custom column type
Drizzle TeamDTDrizzle Team / help
16mo ago