how can i resolve this error please

you changed the keys of one or more tables, if you already have data in the database you will get that error, because sql won't be able to apply your changes to the existing data, if you want to keep the data you need to
 - copy paste the entity so you have a new one;
 - change only the new one (does not have any data);
 - replace all the usages of the old table to the new table;
 - create a bootstrap from the old table to the new one;

Notice that if you have this applications in other evironmets you may want to keep the old table untill you push that change to other environments otherwise you wont be able to bootstrap the other enviromtens when you push the version. Then you can delete the old table

Best regards
Carlos Rocha