Fix primary key into script upgrade.sql 1-2