Skip to content

Commit a30782b

Browse files
committed
Trigger model patch
1 parent 0d24ec2 commit a30782b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Monitor/Config.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
"notification_delay_in_hours" : 1,
1313
"history_expire_time_in_days" : 7,
14-
14+
"api_request_name" : "serverinfo",
1515
"format" : "json",
1616

1717
"db_hostname" : "localhost",
18-
"db_username" : "",
19-
"db_password" : "",
20-
"db_name" : "",
18+
"db_username" : "root",
19+
"db_password" : "monster666",
20+
"db_name" : "status",
2121
"db_driver" : "pdo_mysql",
2222

2323
"ms_in_hour": 3600,

src/Monitor/Model/Trigger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ class Trigger
1515
**/
1616
private $notification_id;
1717
/**
18-
* @Column(type="integer")
18+
* @Column(type="string")
1919
**/
2020
private $value;
2121
/**

0 commit comments

Comments
 (0)