Added LastUpdate column, to make it easier for ReactiveData databases to create PHP triggers

This commit is contained in:
git 2025-06-15 19:35:14 +01:00
parent f8773cdbda
commit 210c43782c

View File

@ -5,10 +5,10 @@ CREATE TABLE mDNS (
Type ENUM('A','PTR','SRV') NOT NULL,
Name VARCHAR(255),
Data VARCHAR(1024),
LastUpdated TIMESTAMP on update CURRENT_TIMESTAMP NOT NULL,
PRIMARY KEY (Host,Type,Name)
);
<?php
$hosts = [
["hostname" => "hostname01", "password" => "password01"],