This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*global require,console,setTimeout */ | |
var opcua = require("node-opcua"); | |
var async = require("async"); | |
var config = { | |
"server": "opc.tcp://opcua.demo-this.com:51210/UA/SampleServer", | |
"tags": [{ | |
// "name": "An Int32", | |
// "nodeId": "ns=2;i=10849", | |
// "updateInterval": 100 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- clean up database from previous test | |
DROP SCHEMA public CASCADE; | |
CREATE SCHEMA public; | |
-- create EAV tables | |
CREATE TABLE entity ( | |
id SERIAL PRIMARY KEY, | |
name TEXT, | |
description TEXT | |
); |