mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Actually add the sql content
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE `sensors_to_state_indexes` DROP FOREIGN KEY `sensors_to_state_indexes_ibfk_1`;
|
||||
ALTER TABLE `sensors_to_state_indexes` DROP FOREIGN KEY `sensors_to_state_indexes_sensor_id_foreign`;
|
||||
ALTER TABLE `sensors_to_state_indexes` ADD CONSTRAINT `sensors_to_state_indexes_sensor_id_foreign` FOREIGN KEY (`sensor_id`) REFERENCES `sensors` (`sensor_id`) ON DELETE CASCADE;
|
||||
|
||||
Reference in New Issue
Block a user