Ticket #76 (closed compito: sistemata)

Opened 4 years ago

Last modified 4 years ago

Modifica Modello GASMember id_in_gas

Reported by: dom_thual Owned by: modello
Priority: importante Milestone: ACQUISTIAMO - L'utente può ordinare
Component: sviluppo Keywords:
Cc:

Description (last modified by dom_thual) (diff)

Il campo id_in_gas deve essere unico all'interno di un proprio GAS.
2 GAS possono avere un rispettivo Gassista con l'omonimo id_in_gas

IntegrityError: (1062, "Duplicate entry '1' for key 'id_in_gas'")

Change History

comment:1 Changed 4 years ago by dom_thual

  • Description modified (diff)

comment:2 Changed 4 years ago by fero

mettere unique_together = ( ('gas', 'id_in_gas'), )

Last edited 4 years ago by fero (previous) (diff)

comment:3 Changed 4 years ago by fero

  • Status changed from new to closed
  • Resolution set to sistemata
Note: See TracTickets for help on using tickets.