- Column('mac_addr', String, nullable=False),
- Column('ip', String, nullable=False),
- Column('hostname', String, primary_key=True, nullable=False))
+ Column('mac_addr', String, nullable=False, primary_key=True),
+ Column('ip', String, nullable=False, unique=True),
+ Column('hostname', String, nullable=True))