fix: Use rowId as PK in ConfigsController