mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Re-write ospf polling using Eloquent DO NOT DELETE THIS TEXT #### Please note > Please read this information carefully. You can run `./scripts/pre-commit.php` to check your code before submitting. - [x] Have you followed our [code guidelines?](http://docs.librenms.org/Developing/Code-Guidelines/) #### Testers If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
10 lines
596 B
SQL
10 lines
596 B
SQL
DELETE FROM ospf_instances WHERE context_name = '';
|
|
DELETE FROM ospf_areas WHERE context_name = '';
|
|
DELETE FROM ospf_ports WHERE context_name = '';
|
|
DELETE FROM ospf_nbrs WHERE context_name = '';
|
|
ALTER TABLE ospf_instances ADD id int auto_increment NULL PRIMARY KEY AUTO_INCREMENT FIRST;
|
|
ALTER TABLE ospf_areas ADD id int auto_increment NULL PRIMARY KEY AUTO_INCREMENT FIRST;
|
|
ALTER TABLE ospf_ports ADD id int auto_increment NULL PRIMARY KEY AUTO_INCREMENT FIRST;
|
|
ALTER TABLE ospf_nbrs ADD id int auto_increment NULL PRIMARY KEY AUTO_INCREMENT FIRST;
|
|
ALTER TABLE ospf_nbrs MODIFY port_id int(11);
|