changed table column names for more specifity

This commit is contained in:
Tarun Singh 2021-11-09 18:53:00 -05:00
parent 149015556b
commit 3721d11259
2 changed files with 6 additions and 6 deletions

View File

@ -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;

View File

@ -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>