Files
windmill/backend/migrations/20250116154037_cloud_team_threshold_alert.up.sql
HugoCasa 1f53ded622 team plans billing threshold alert (#5078)
* team plans billing threshold alert

* nits

* tmp ee ref

* update ee ref
2025-01-17 14:06:47 +01:00

7 lines
273 B
SQL

CREATE TABLE IF NOT EXISTS cloud_workspace_settings (
workspace_id VARCHAR(50) NOT NULL,
threshold_alert_amount INT NULL,
last_alert_sent TIMESTAMP NULL,
PRIMARY KEY (workspace_id),
FOREIGN KEY (workspace_id) REFERENCES workspace(id) ON DELETE CASCADE
)