2025-01-06 11:07:53 +01:00
|
|
|
/* create database 'gomatic'; */
|
|
|
|
|
|
|
|
|
|
drop table if exists agents;
|
|
|
|
|
create table agents (
|
2025-01-09 16:42:27 +01:00
|
|
|
id UUID default uuid() Primary Key,
|
2025-01-06 11:07:53 +01:00
|
|
|
agentId int,
|
|
|
|
|
agentName varchar(255),
|
2025-01-09 16:42:27 +01:00
|
|
|
IPv4Address varchar(15),
|
2025-01-06 11:07:53 +01:00
|
|
|
initialContact timestamp,
|
2025-01-09 16:42:27 +01:00
|
|
|
lastContact timestamp,
|
|
|
|
|
status Boolean
|
2025-01-06 11:07:53 +01:00
|
|
|
);
|
|
|
|
|
|
2025-01-09 16:42:27 +01:00
|
|
|
insert into agents (agentId, agentName, initialContact, lastContact) values ( 99, "testAgent", NOW(), NOW());
|