phpipam-agent icon indicating copy to clipboard operation
phpipam-agent copied to clipboard

Update column names

Open nathan-bonner opened this issue 8 years ago • 1 comments

I believe dns_name is the correct column name in the database as opposed to hostname for these lines:

https://github.com/phpipam/phpipam-agent/blob/f7cc8814f574096ee0880d6fceb380216779b7b8/functions/classes/class.phpipamAgent.php#L1150 https://github.com/phpipam/phpipam-agent/blob/f7cc8814f574096ee0880d6fceb380216779b7b8/functions/classes/class.phpipamAgent.php#L1035

nathan-bonner avatar Jun 01 '18 00:06 nathan-bonner

I should mention that I am using version 1.3.1 that was upgraded from 1.2. Here is a screenshot of the ipaddresses table:

Screenshot of Columns

@phpipam Perhaps in the upgrade process there needed to be a schema upgrade?

nathan-bonner avatar Jul 01 '18 16:07 nathan-bonner