Changes between Initial Version and Version 17 of Ticket #1820


Ignore:
Timestamp:
Apr 28, 2010, 7:50:27 AM (15 years ago)
Author:
Ramiro Morales
Comment:

(reformatted description)

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1820

    • Property Keywords mysql added
    • Property Triage Stage UnreviewedAccepted
    • Property Version magic-removalSVN
    • Property Cc remco@… crucialfelix@… bronger@… nabucosound@… ville@… added
  • Ticket #1820 – Description

    initial v17  
    11Having a model as part of an application called: front_booking:
    2 
     2{{{
    33class AccomodationUnit(Model):
    44    Facility = ManyToManyField(Facility, verbose_name = 'faciliteiten')
    5 
     5}}}
    66Generates an "Identifier name is too long" exception when doing a syncdb on mysql 5.0.x. Mysql is only able to store identifiers of 64 bytes max.
    7 
     7{{{
    88_mysql_exceptions.OperationalError: (1059, "Identifier name 'AccomodationUnit_id_referencing_front_booking_accomodationunit_id' is too long")
    9 
     9}}}
    1010Possible solution would be to allow a user to somehow influence the naming of these identifiers or use identifier names of 64 bytes max. in size
Back to Top