* display previous script inputs on script run page * parallelise loading * parallelise loading * also working for flows * separate endpoints for scripts and flows * Splitpanes and Saved Inputs (UI) * Saved inputs API endpoints * Editable Input name * Narrow width styling * feat(frontend): Add a toggle to open the saved inputs (#1401) * feat(frontend): Add a toggle to open the saved inputs * feat(frontend): Add a toggle to open the saved inputs * feat(frontend): Move toggle * update all --------- Co-authored-by: Ruben Fiszel <ruben@rubenfiszel.com> Co-authored-by: Faton Ramadani <faton.ramadani14@gmail.com>
13 lines
461 B
SQL
13 lines
461 B
SQL
CREATE TYPE RUNNABLE_TYPE AS ENUM ('ScriptHash', 'ScriptPath', 'FlowPath');
|
|
|
|
CREATE TABLE IF NOT EXISTS input (
|
|
id UUID PRIMARY KEY,
|
|
workspace_id VARCHAR(50) NOT NULL REFERENCES workspace(id),
|
|
runnable_id VARCHAR(255) NOT NULL,
|
|
runnable_type RUNNABLE_TYPE NOT NULL,
|
|
name TEXT NOT NULL,
|
|
args JSONB NOT NULL,
|
|
created_at TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW(),
|
|
created_by VARCHAR(50) NOT NULL,
|
|
is_public BOOLEAN NOT NULL DEFAULT FALSE
|
|
); |