Closed Gankarloo closed 6 years ago
While your suggestion would be a typical fix, the use case here is actually one that would not be updated a the table level like this.
The intent of the 'sys_default' column was to mark the row as a system provided record that 'locked' it so it could not be edited or deleted by the user. Any new records created by the user should automatically be getting a value of 0.
This is actually fixed in the develop branch as shown here https://github.com/opennetadmin/ona/blob/develop/www/winc/app_dhcp_option_edit.inc.php#L256
I'll try and get that merged back in to master shortly.
Thanks
No error in GUI ona.log:
Simple solution: run this SQL statement:
I'm guessing a simple add statement marked by ** to ona-table_schema.xml will do the trick.