changed table column names for more specifity

pull/875/head
Tarun Singh 3 years ago
parent 149015556b
commit 3721d11259

@ -2,9 +2,9 @@
BEGIN TRANSACTION; BEGIN TRANSACTION;
ALTER TABLE monitor ALTER TABLE monitor
ADD topic VARCHAR(50); ADD mqtt_topic VARCHAR(50);
ALTER TABLE monitor ALTER TABLE monitor
ADD success_message VARCHAR(255); ADD mqtt_success_message VARCHAR(255);
COMMIT; COMMIT;

@ -127,16 +127,16 @@
</div> </div>
<div class="my-3"> <div class="my-3">
<label for="topic" class="form-label">{{ $t("topic") }}</label> <label for="mqttTopic" class="form-label">{{ $t("topic") }}</label>
<input id="topic" v-model="monitor.topic" type="text" class="form-control" required> <input id="mqttTopic" v-model="monitor.topic" type="text" class="form-control" required>
<div class="form-text"> <div class="form-text">
{{ $t("topicExplanation") }} {{ $t("topicExplanation") }}
</div> </div>
</div> </div>
<div class="my-3"> <div class="my-3">
<label for="successMessage" class="form-label">{{ $t("successMessage") }}</label> <label for="mqttSuccessMessage" class="form-label">{{ $t("successMessage") }}</label>
<input id="successMessage" v-model="monitor.successMessage" type="text" class="form-control" required> <input id="mqttSuccessMessage" v-model="monitor.successMessage" type="text" class="form-control" required>
<div class="form-text"> <div class="form-text">
{{ $t("successMessageExplanation") }} {{ $t("successMessageExplanation") }}
</div> </div>

Loading…
Cancel
Save