Set asset_id as primary key in database.
refs #84