≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Feature request #1676

Feature request #1676: Rename "default" column on Email model

Kind feature request
Product wincent.dev
When 2010-09-01T17:24:14Z
Status open
Reporter Greg Hurrell
Tags no tags

Description

As DEFAULT is a reserved keyword in MySQL, working with this column may require special quoting; eg:

ALTER TABLE emails MODIFY default BOOL DEFAULT 1;

won't work; it must instead be written:

ALTER TABLE emails MODIFY `default` BOOL DEFAULT 1;

Rename the column to avoid any potential confusion.

Possibly suitable synonyms include preferred, principal, perhaps active, standard, preset...

Comments

    Add a comment

    Comments are now closed for this issue.

    • contact
    • legal

    Menu

    • Blog
    • Wiki
    • Issues
    • Snippets