Files

2 lines
250 B
SQL
Raw Permalink Normal View History

+5
2026-08-19 14:12:06 -05:00
ALTER TABLE `ssh_data` ADD `parent_host_id` int;--> statement-breakpoint
ALTER TABLE `ssh_data` ADD CONSTRAINT `ssh_data_parent_host_id_ssh_data_id_fk` FOREIGN KEY (`parent_host_id`) REFERENCES `ssh_data`(`id`) ON DELETE set null ON UPDATE no action;