sql_type primary key defined