--- management/commands/sqldiff.py.ORIG 2013-03-07 07:29:28.000000000 -0500
+++ management/commands/sqldiff.py 2013-03-07 07:49:33.000000000 -0500
@@ -553,8 +553,11 @@
if not db_type:
return
if field:
- if field.primary_key and db_type == 'integer':
- db_type = 'serial'
+ if field.primary_key:
+ if db_type == 'integer':
+ db_type = 'serial'
+ elif db_type == 'bigint':
+ db_type = 'bigserial'
if table_name:
tablespace = field.db_tablespace
if tablespace == "":
Wow – I think you take the prize for the greatest Django add-on AND fastest response !
Jim C.
--
You received this message because you are subscribed to the Google Groups "django-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-extensi...@googlegroups.com.
To post to this group, send email to django-e...@googlegroups.com.
Visit this group at http://groups.google.com/group/django-extensions?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.