Is there any way to get model attribute name which has default value?
Based on example below, I would like to have level & permission.
CREATE TABLE sis_window
( id VARCHAR NOT NULL PRIMARY KEY,
name VARCHAR NOT NULL,
level INT NOT NULL DEFAULT 0,
permission INT NOT NULL DEFAULT 0
);