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;
ALTER TABLE monitor
ADD topic VARCHAR(50);
ADD mqtt_topic VARCHAR(50);
ALTER TABLE monitor
ADD success_message VARCHAR(255);
ADD mqtt_success_message VARCHAR(255);
COMMIT;

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

Loading…
Cancel
Save