Skip to content
This repository has been archived by the owner on May 14, 2018. It is now read-only.

Hotfix/issue #104 #113

Merged
merged 2 commits into from
Mar 10, 2013
Merged

Hotfix/issue #104 #113

merged 2 commits into from
Mar 10, 2013

Conversation

Ocramius
Copy link
Contributor

Merges #104

Freeaqingme and others added 2 commits March 5, 2013 18:34
- 'default' is a reserved keyword in mysql, so I changed it to
  is_default. I have not seen an occurrence of this column in the
  actual code, so impact seems minimal.
- Although a parent column is present, it did not have a foreign
  key yet, so added that.
- The character set was set to utf8, given that role names are
  something used internally, and the fact that they're used as
  primary keys, I figured they could better be latin1 (reasoning below)
- Because Mysql reserves the maximum amount of bytes for a varchar
  field, it would reserve 3*255 bytes (3 because of charset, 255
  because of maxlenght). This seems a tad overkill, hence I reduced
  it to a more sensible amount (I think).
@Ocramius Ocramius mentioned this pull request Mar 10, 2013
Ocramius added a commit that referenced this pull request Mar 10, 2013
@Ocramius Ocramius merged commit 5a269e0 into master Mar 10, 2013
@Ocramius Ocramius deleted the hotfix/issue-#104 branch March 10, 2013 18:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants