Add javascrip function check & call from string functions

Check if a string is a function.
And call this string with arguments.

Update SQL files for better layout order
This commit is contained in:
Clemens Schwaighofer
2020-07-21 11:30:34 +09:00
parent bb5276ee44
commit 71ee80fa06
21 changed files with 75 additions and 36 deletions

View File

@@ -9,8 +9,8 @@
CREATE TABLE edit_access_data (
edit_access_data_id SERIAL PRIMARY KEY,
edit_access_id INT NOT NULL,
FOREIGN KEY (edit_access_id) REFERENCES edit_access (edit_access_id) MATCH FULL ON DELETE CASCADE ON UPDATE CASCADE,
enabled SMALLINT NOT NULL DEFAULT 0,
name VARCHAR,
value VARCHAR,
FOREIGN KEY (edit_access_id) REFERENCES edit_access (edit_access_id) MATCH FULL ON DELETE CASCADE ON UPDATE CASCADE
value VARCHAR
) INHERITS (edit_generic) WITHOUT OIDS;