hostname-service/db/migrations/2_create_hostnames_table.up...

8 lines
207 B
MySQL
Raw Normal View History

2024-01-17 18:05:55 +01:00
CREATE TABLE hostnames (
id INTEGER PRIMARY KEY AUTOINCREMENT,
category TEXT NOT NULL,
hostname TEXT NOT NULL,
parameters JSON,
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP
);