Ticket #1377 (closed defect: fixed)
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
Note: See
TracTickets for help on using
tickets.