10
0
Fork 0
mirror of https://github.com/ZeusWPI/ZNS.git synced 2024-10-30 05:24:26 +01:00
zns/zns-daemon/migrations/2024-03-03-220459_create_records/up.sql

11 lines
229 B
SQL

-- Your SQL goes here
CREATE TABLE records (
name TEXT NOT NULL,
type INT NOT NULL,
class INT NOT NULL,
ttl INT NOT NULL,
rdlength INT NOT NULL,
rdata BYTEA NOT NULL,
PRIMARY KEY (name,type,class,rdlength,rdata)
)