Hi all,

Anyone got a quick hack to turn _all_ INTs in SQL generated code to
BIGINT?

either in the models or running code accross the source....

I grep'd the db directory -

backends/ado_mssql/creation.py:    'PositiveIntegerField': 'int
CONSTRAINT [CK_int_pos_%(column)s] CHECK ([%(column)s] > 0)',

backends/ado_mssql/creation.py:    'PositiveSmallIntegerField':
'smallint CONSTRAINT [CK_smallint_pos_%(column)s] CHECK ([%(column)s] >
0)',


backends/mysql/introspection.py:    FIELD_TYPE.INT24: 'IntegerField',

I don't want to run a global replace on the code if someone has a
better idea - as I fear it may break stuff!

Thanks!


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to