Opened 17 years ago

Last modified 17 years ago

#5219 closed

Problems using syncdb with Oracle 10g - strange field names and null = false ignored — at Initial Version

Reported by: anonymous Owned by: nobody
Component: Uncategorized Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hello

When syncdbing the following model :

class IdentificationConfidence(models.Model):

identification_confidence = models.CharField("how confident the observer is", max_length = 20, null = False)


class Meta:

app_label = 'interaction'


def unicode(self):

return self.identification_confidence

I get the following table produced:
INTERACTION_IDENTIFICATION8A86

with fields ID (PK) and
IDENTIFICATION_CONFIDENCE NVARCHAR2(20) Nullable = Yes

Syncdb seems to be ignoring null = false and providing a strange table name

Thanks

Catriona

NB I didn't type the the question marks into my issue - they just appeared and it was unicode

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top