I\'ve this schema.yml file (just relevant part):
SdrivingMaquina: actAs: Timestampable: ~ columns: idmaquina: { type: integer(8), autoincrement: tru
To have a one-to-one relation you should write
SdrivingMaquina: { onDelete: CASCADE, local: idmaquina, foreign: idmaquina, type: one, foreignType: one }
so add the foreignType: one parameter.
foreignType: one