Database version 4: composite primary key for record_tag