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

12 lines
229 B
MySQL
Raw Normal View History

2024-03-05 22:13:32 +01:00
-- 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,
2024-03-05 22:13:32 +01:00
2024-03-26 23:22:12 +01:00
PRIMARY KEY (name,type,class,rdlength,rdata)
2024-03-05 22:13:32 +01:00
)