mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix: Added primary key to perf_times to improve DELETE performance on replicas using ROW based replication (#7493)
* fix: Added primary key to perf_times to improve DELETE performance on replicas using ROW based replication * moved sql file * moved sql file * Rebased * fixed schema * moved sql file
This commit is contained in:
2
sql-schema/215.sql
Normal file
2
sql-schema/215.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
TRUNCATE `perf_times`;
|
||||
ALTER TABLE `perf_times` ADD COLUMN `id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST;
|
||||
Reference in New Issue
Block a user