For example, I inherit the the model product.template and added a field servie_id and makes it required.
But the warning message in my log file
warning
Table 'product_template': unable to set a NOT NULL constraint on column 'service_id' !
Notes
I know one option is to select the table and add values to service id whether it is null.
is there any other option for avoiding this warning in log file?