There is no primary key here; you need to add the `id` column to the table and the index. You also need to add the `countryid` column to the `users` table.