Browse Source

sql script

tags/0.1.5^0
Robin Thoni 4 years ago
parent
commit
f0ce30a55f
Signed by: Robin THONI <robin@rthoni.com> GPG Key ID: 4E09DEF46B99E61E
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      sql/data_0_1_5.sql

+ 5
- 0
sql/data_0_1_5.sql View File

@@ -0,0 +1,5 @@
1
+--
2
+-- Data for Name: command_types; Type: TABLE DATA; Schema: public; Owner: dev
3
+--
4
+
5
+INSERT INTO sensor_types VALUES (6, 'HTTP request', 'App\Http\Business\Sensors\HttpRequestSensor', '{"Url": "http://127.0.0.1/sensor", "Method": "POST", "Options": {"headers": {"X-Custom-Header": "value", "Content-Type": "application/json"}, "body": "{\"some\": \"JSON content\"}"}, "Mapping": {"Values": {"ON": 1, "OFF": 0}, "ValuesDefault": 0}}');

Loading…
Cancel
Save