Skip to content
This repository has been archived by the owner on Aug 7, 2018. It is now read-only.

Support for BigIntegerField / bigint. #8

Open
wants to merge 1 commit into
base: django-1.4
Choose a base branch
from
Open

Support for BigIntegerField / bigint. #8

wants to merge 1 commit into from

Conversation

elver
Copy link

@elver elver commented Sep 6, 2012

I had a problem where I was using a BigIntegerField as the 'id' field for certain tables and that column was not being created when doing a syncdb. So I did a tiny patch to fix that. Works now.

Here's a minimal example of how it can break without the patch:

class ObfuscatedPKModel(models.Model):
    class Meta:
        abstract = True
    id = models.BigIntegerField(primary_key = True, db_index = True)

Iv pushed a commit to Iv/django-pyodbc that referenced this pull request Jun 28, 2013
onysos pushed a commit to onysos/django-pyodbc that referenced this pull request Apr 15, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant