Parcourir la source

sql script

tags/0.1.5^0
Robin Thoni il y a 4 ans
Parent
révision
f0ce30a55f
Signé par: Robin THONI <robin@rthoni.com> ID de la clé GPG: 4E09DEF46B99E61E
1 fichiers modifiés avec 5 ajouts et 0 suppressions
  1. 5
    0
      sql/data_0_1_5.sql

+ 5
- 0
sql/data_0_1_5.sql Voir le fichier

@@ -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}}');

Chargement…
Annuler
Enregistrer