Revision e0b9a688 snf-cyclades-app/synnefo/db/models.py

b/snf-cyclades-app/synnefo/db/models.py
799 799

  
800 800
    NETWORK_IFACE_NAME_LENGTH = 128
801 801

  
802
    name = models.CharField('NIC name', max_length=128, null=True, default="")
803
    userid = models.CharField("UUID of the owner",
804
                              max_length=NETWORK_IFACE_NAME_LENGTH,
802
    name = models.CharField('NIC name', max_length=NETWORK_IFACE_NAME_LENGTH,
803
                            null=True, default="")
804
    userid = models.CharField("UUID of the owner", max_length=128,
805 805
                              null=False, db_index=True)
806 806
    machine = models.ForeignKey(VirtualMachine, related_name='nics',
807 807
                                on_delete=models.PROTECT, null=True)

Also available in: Unified diff