opennetadmin / ona

OpenNetAdmin IP Address Management (IPAM) system
opennetadmin.com
GNU General Public License v2.0
141 stars 35 forks source link

What is the purpose of the `network_role_id` field in the `subnets` table? #95

Closed chuhn closed 6 years ago

chuhn commented 8 years ago

Just stumbled upon this during DB migration. It is NULL in our old DB but has a NOTNULL constraint in the current version. Seems to be used nowhere though.

mattpascoe commented 8 years ago

Short answer, is it is old junk that is not used.. really the subnet_type_id amounts to what it was intended to be. I should probably just drop that out entirely.

What I suspect you are running into is issue #86. I have fixes for it in the miradbfix branch if you would like to try that out. I need to get that dang thing merged in before it causes people too much grief. Any help in testing that would be appreciated.

mattpascoe commented 6 years ago

This column is now removed in the latest version.. closing ticket.