Friday, August 1, 2014

Re: BigInt / Long for Auto Incrementing PK

Hi, you can use a bigintegerfield and set it as primary-key.

Am Donnerstag, 31. Juli 2014 17:34:17 UTC+2 schrieb Nicholas Haggmark:
Hi Guys,

I need to create a couple of tables with 64-bit int data type primary keys.  I've been googling around and I haven't seen anything really recent in regards to this.  Does Django 1.7 support auto incrementing 64-bit int primary keys?  If not out of the box, does anyone have a reliable solution for this?

Thanks!

Nick Haggmark

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/165fba9c-a459-43ae-b5e3-876bfc5d7c39%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment