Sers,
programmiere grade eine Adressenverwaltung als Webanwendung und benutze eine MySQL Datenbank. Nun würde ich um Rat fragen wie die Tabellen etc. darin aussehen sollen.
Spalten: id lastname firstname location postalcode street street_altern1 street_altern2 location_altern1 location_altern2 phone1 phone2 fax1 fax2 mobilephone
Ich würde es dann so machen:
Tabelle: contact
Id lastname firstname locationid addressid communicationid
Tabelle: location
Id postalcode location
Tabelle: address
Id street street_altern1 street_altern2 location_altern1 location_altern2
Tabelle: communication
Id phone1 phone2 fax1 fax2 mobilephone
Jegliche Verbesserungen sind erwünscht, bin mir vorallem wegen den Alternativen nich so sicher... ggf. für Alternativen noch Tabelle/n?
Vielen Dank im voraus.
Lg
programmiere grade eine Adressenverwaltung als Webanwendung und benutze eine MySQL Datenbank. Nun würde ich um Rat fragen wie die Tabellen etc. darin aussehen sollen.
Spalten: id lastname firstname location postalcode street street_altern1 street_altern2 location_altern1 location_altern2 phone1 phone2 fax1 fax2 mobilephone
Ich würde es dann so machen:
Tabelle: contact
Id lastname firstname locationid addressid communicationid
Tabelle: location
Id postalcode location
Tabelle: address
Id street street_altern1 street_altern2 location_altern1 location_altern2
Tabelle: communication
Id phone1 phone2 fax1 fax2 mobilephone
Jegliche Verbesserungen sind erwünscht, bin mir vorallem wegen den Alternativen nich so sicher... ggf. für Alternativen noch Tabelle/n?
Vielen Dank im voraus.
Lg