© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•2y ago•
1 reply
Tobias

drizzle-kit push:pg and sql commands

I have a schema that I can easily push to my PostgreSQL database. But whenever I have something I want to do outside what I can define within the schema, I need to do a manual sql command in my database.
For example I want to run
alter table "table_name" enable row level security;
alter table "table_name" enable row level security;
for my tables, and I want to add that so it is applied when I run drizzle-kit push:pg. Is this possible?
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

Drizzle-kit push:pg not working
Drizzle TeamDTDrizzle Team / help
3y ago
drizzle-kit push ignores SQL schema
Drizzle TeamDTDrizzle Team / help
8mo ago
error with drizzle-kit `introspect:pg` and `push:pg` | vercel postgres
Drizzle TeamDTDrizzle Team / help
2y ago
drizzle-kit push
Drizzle TeamDTDrizzle Team / help
5mo ago