* feat: google native triggers * nit skill * better native trigger abstraction * use resources for workspace integrations * better and better * better tests * update native trigger skill * sqlx * less tx and google update fix * refactor a bit the external logic * nits * fix * fix google native trigger update * fix oauth * review fixes * sqlx fix * nit * chore: update ee-repo-ref to a10eda4251610cceee67fbe05463b8be82ffa9e0 This commit updates the EE repository reference after PR #416 was merged in windmill-ee-private. Previous ee-repo-ref: bf3696d5f2a39a3cb84dbbee81e092155f2a8c75 New ee-repo-ref: a10eda4251610cceee67fbe05463b8be82ffa9e0 Automated by sync-ee-ref workflow. --------- Co-authored-by: Ruben Fiszel <ruben@windmill.dev> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com> Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>
11 lines
587 B
SQL
11 lines
587 B
SQL
-- Migrate native trigger OAuth tokens from workspace_integrations to account+variable+resource pattern
|
|
|
|
-- Add flag to distinguish workspace integration accounts from regular user OAuth accounts
|
|
ALTER TABLE account ADD COLUMN is_workspace_integration BOOLEAN NOT NULL DEFAULT false;
|
|
|
|
-- Make oauth_data nullable since it will only store client config (no tokens) going forward
|
|
ALTER TABLE workspace_integrations ALTER COLUMN oauth_data DROP NOT NULL;
|
|
|
|
-- Add resource_path column to workspace_integrations
|
|
ALTER TABLE workspace_integrations ADD COLUMN IF NOT EXISTS resource_path TEXT;
|