Fix sql error (duplicated field) on install plugin