allow nullable ospf auth (#12249)

* ospfAuthType

* update db_schema

* remove extra migrations
This commit is contained in:
Hayden
2020-10-21 19:07:12 -07:00
committed by GitHub
parent a3f8dc6499
commit 774d95c118
2 changed files with 35 additions and 3 deletions

View File

@@ -70,10 +70,10 @@ alert_log:
Indexes:
PRIMARY: { Name: PRIMARY, Columns: [id], Unique: true, Type: BTREE }
alert_log_device_id_index: { Name: alert_log_device_id_index, Columns: [device_id], Unique: false, Type: BTREE }
alert_log_rule_id_index: { Name: alert_log_rule_id_index, Columns: [rule_id], Unique: false, Type: BTREE }
alert_log_time_logged_index: { Name: alert_log_time_logged_index, Columns: [time_logged], Unique: false, Type: BTREE }
alert_log_rule_id_device_id_index: { Name: alert_log_rule_id_device_id_index, Columns: [rule_id, device_id], Unique: false, Type: BTREE }
alert_log_rule_id_device_id_state_index: { Name: alert_log_rule_id_device_id_state_index, Columns: [rule_id, device_id, state], Unique: false, Type: BTREE }
alert_log_rule_id_index: { Name: alert_log_rule_id_index, Columns: [rule_id], Unique: false, Type: BTREE }
alert_log_time_logged_index: { Name: alert_log_time_logged_index, Columns: [time_logged], Unique: false, Type: BTREE }
alert_rules:
Columns:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
@@ -1177,7 +1177,7 @@ ospf_areas:
- { Field: id, Type: 'int unsigned', 'Null': false, Extra: auto_increment }
- { Field: device_id, Type: 'int unsigned', 'Null': false, Extra: '' }
- { Field: ospfAreaId, Type: varchar(32), 'Null': false, Extra: '' }
- { Field: ospfAuthType, Type: varchar(64), 'Null': false, Extra: '' }
- { Field: ospfAuthType, Type: varchar(64), 'Null': true, Extra: '' }
- { Field: ospfImportAsExtern, Type: varchar(128), 'Null': false, Extra: '' }
- { Field: ospfSpfRuns, Type: int, 'Null': false, Extra: '' }
- { Field: ospfAreaBdrRtrCount, Type: int, 'Null': false, Extra: '' }