add default config for script service
This commit is contained in:
1 parent
1bc12d7a33
commit
1575a4cc34
1 file changed
+20
@@ -0,0 +1,20 @@
|
||||
-- +goose Up
|
||||
|
||||
WITH moduleVar AS (
|
||||
INSERT INTO modules (instance_id, name, active) VALUES (1, 'script', 't') RETURNING id
|
||||
)
|
||||
|
||||
INSERT INTO configs (module_id, active, data) VALUES (
|
||||
(SELECT id FROM moduleVar),
|
||||
't',
|
||||
('{
|
||||
"scripts": [
|
||||
|
||||
],
|
||||
"shaderScript": "",
|
||||
"scriptExecutionTimeoutMs": 1000
|
||||
}')::jsonb
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
|
||||
Reference in new issue
Block a user