start diesel setup
This commit is contained in:
1
migrations/2026-05-28-142613-0000_servers/down.sql
Normal file
1
migrations/2026-05-28-142613-0000_servers/down.sql
Normal file
@ -0,0 +1 @@
|
||||
DROP TABLE servers
|
||||
9
migrations/2026-05-28-142613-0000_servers/up.sql
Normal file
9
migrations/2026-05-28-142613-0000_servers/up.sql
Normal file
@ -0,0 +1,9 @@
|
||||
CREATE TABLE "servers" (
|
||||
"id" int PRIMARY KEY,
|
||||
"name" varchar(255) UNIQUE NOT NULL,
|
||||
"volume_path" varchar(255) UNIQUE NOT NULL,
|
||||
"last_login" timestamp,
|
||||
"container_id" varchar(30),
|
||||
"status" int2 NOT NULL DEFAULT 0,
|
||||
"redirect_ip" int
|
||||
);
|
||||
Reference in New Issue
Block a user