Refactor database operations for resolved DNS records

This commit is contained in:
netkas 2025-01-15 13:55:52 -05:00
parent 3adb62cfc7
commit 4a143a8a97
2 changed files with 27 additions and 27 deletions

View file

@ -1,7 +1,7 @@
create table resolved_dns_records
(
domain varchar(512) not null comment 'The domain name'
primary key comment 'Unique Index for the server domain',
domain varchar(512) not null comment 'Unique Index for the server domain'
primary key,
rpc_endpoint text not null comment 'The endpoint of the RPC server',
public_key text not null comment 'The Public Key of the server',
expires bigint not null comment 'The Unix Timestamp for when the server''s keypair expires',