From 759a4e0c3de657ca917fdd1ebfc65be1d3121d57 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Thu, 5 Feb 2026 19:39:45 +0000 Subject: [PATCH] fix: fix asset grant --- backend/migrations/20260205193914_grant_asset_id_seq.down.sql | 2 ++ backend/migrations/20260205193914_grant_asset_id_seq.up.sql | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 backend/migrations/20260205193914_grant_asset_id_seq.down.sql create mode 100644 backend/migrations/20260205193914_grant_asset_id_seq.up.sql diff --git a/backend/migrations/20260205193914_grant_asset_id_seq.down.sql b/backend/migrations/20260205193914_grant_asset_id_seq.down.sql new file mode 100644 index 0000000000..273ec4299e --- /dev/null +++ b/backend/migrations/20260205193914_grant_asset_id_seq.down.sql @@ -0,0 +1,2 @@ +REVOKE ALL ON SEQUENCE asset_id_seq FROM windmill_user; +REVOKE ALL ON SEQUENCE asset_id_seq FROM windmill_admin; diff --git a/backend/migrations/20260205193914_grant_asset_id_seq.up.sql b/backend/migrations/20260205193914_grant_asset_id_seq.up.sql new file mode 100644 index 0000000000..ddc052c117 --- /dev/null +++ b/backend/migrations/20260205193914_grant_asset_id_seq.up.sql @@ -0,0 +1,2 @@ +GRANT ALL ON SEQUENCE asset_id_seq TO windmill_user; +GRANT ALL ON SEQUENCE asset_id_seq TO windmill_admin;