Ticket #1377 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

enum problem

Reported by: tester Owned by: jwage
Priority: minor Milestone:
Component: Attributes Version: 1.0.0
Severity: Keywords:
Cc: Has Test: no
Status: Pending Core Response Has Patch: no

Description (last modified by tester) (diff)

hey

i just updated doctrine with latest version and sandbox doesn't work any more with enums

i got this schema (using mysql 5.1):

Test:

options:

type: MYISAM

columns:

text_align:

type: enum values: ['left', 'center', 'right'] default: 'left'

text_font:

type: enum values: ['verdana', 'arial', 'times', 'georgia'] default: 'georgia'

sql generated from schema is the following:

CREATE TABLE test (id BIGINT AUTO_INCREMENT, text_align VARCHAR(255) DEFAULT left, text_font VARCHAR(255) DEFAULT georgia, PRIMARY KEY(id)) ENGINE = MYISAM;

and the build-all-reload fails in sand box because of this. there are some missing ' ' for default values

thanx again paul

Change History

Changed 10 months ago by tester

  • description modified (diff)

Changed 10 months ago by jwage

  • status changed from new to closed
  • resolution set to fixed

(In [4828]) fixes #1377

Changed 10 months ago by jwage

  • milestone changed from Unknown to 1.0.0-RC2

Changed 10 months ago by anonymous

  • milestone New deleted

Milestone New deleted

Note: See TracTickets for help on using tickets.