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

View File

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