Merge pull request #37 from tcivie/add-timestamp-to-client-details

Added timestamp colum to client_details
This commit is contained in:
Gleb Tcivie 2024-07-15 22:38:56 +03:00 committed by GitHub
commit 5346333087
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -50,3 +50,6 @@ CREATE TABLE IF NOT EXISTS node_neighbors
);
CREATE UNIQUE INDEX idx_unique_node_neighbor ON node_neighbors (node_id, neighbor_id);
ALTER TABLE client_details
ADD COLUMN IF NOT EXISTS created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP;