2024-10-03 09:00:29 +00:00
|
|
|
-- Clean dangling workflows not removed after test connection
|
2024-10-10 13:55:11 +00:00
|
|
|
truncate automations_workflow;
|
|
|
|
|
|
|
|
|
|
-- App Data Store
|
|
|
|
|
CREATE TABLE IF NOT EXISTS apps_data_store (
|
|
|
|
|
identifier VARCHAR(256) NOT NULL,
|
|
|
|
|
type VARCHAR(256) NOT NULL,
|
|
|
|
|
json JSON NOT NULL
|
2024-10-30 18:55:51 +00:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
-- Add the source column to the consumers_dlq table
|
2024-10-31 08:40:19 +00:00
|
|
|
ALTER TABLE consumers_dlq ADD COLUMN source VARCHAR(255);
|
2024-10-30 18:55:51 +00:00
|
|
|
|
|
|
|
|
-- Create an index on the source column in the consumers_dlq table
|
|
|
|
|
CREATE INDEX idx_consumers_dlq_source ON consumers_dlq (source);
|