Apply allowNull even if column is a primaryKey