Re: Foreign key auto-created column position in table

2018-08-28 Thread Vladislav Solovei
important to you? We don’t > typically worry about the order of columns when working with databases. > > > > *From:* django-users@googlegroups.com [mailto: > django-users@googlegroups.com] *On Behalf Of *Vladislav Solovei > *Sent:* Tuesday, August 28, 2018 8:05 AM > *To:*

Re: Foreign key auto-created column position in table

2018-08-28 Thread Mikhailo Keda
No need to worry about columns ordering inside db table -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to thi

RE: Foreign key auto-created column position in table

2018-08-28 Thread Matthew Pava
@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of Vladislav Solovei Sent: Tuesday, August 28, 2018 8:05 AM To: Django users Subject: Foreign key auto-created column position in table Hil. I have a simple model: class SipPeer(models.Model): name = models.CharField

Foreign key auto-created column position in table

2018-08-28 Thread Vladislav Solovei
Hil. I have a simple model: class SipPeer(models.Model): name = models.CharField(primary_key=True, max_length=40) type = models.CharField(max_length=10) defaultuser = models.CharField(max_length=40, blank=True, null=True) secret = models.CharField(max_length=40, blank=True, null=T