removed skype_public column from users #34

Merged
bruncbrunc merged 2 commits from skype into master 2017-10-12 18:06:42 -04:00
bruncbrunc commented 2017-07-07 22:05:56 -04:00 (Migrated from github.com)
No description provided.
Dico200 commented 2017-07-11 12:37:02 -04:00 (Migrated from github.com)

Might I ask why it's shortening the thread character limit to 65536 and the title character limit to 191?

Might I ask why it's shortening the thread character limit to 65536 and the title character limit to 191?
bruncbrunc commented 2017-07-11 13:05:39 -04:00 (Migrated from github.com)

Whenever the database is migrated, rails adds those values. It's a big pain to undo them every time, so when I am not adding features regularly anymore, I'll change it to the way it was.

Whenever the database is migrated, rails adds those values. It's a big pain to undo them every time, so when I am not adding features regularly anymore, I'll change it to the way it was.
jomo commented 2017-07-11 14:16:37 -04:00 (Migrated from github.com)

The change from 255 to 191 is because we're using utf8mb4. MySQL reserves a certain amount of bytes, but the limit is given in characters, where 191 chars * 4 bytes <= 255 chars * 3 bytes.

The 65536 limit on a TEXT confuses me though, it shouldn't do that.

The change from 255 to 191 is because we're using `utf8mb4`. MySQL reserves a certain amount of bytes, but the limit is given in characters, where **`191 chars`**` * 4 bytes <= 255 chars * 3 bytes`. The 65536 limit on a `TEXT` confuses me though, it shouldn't do that.
This repo is archived. You cannot comment on pull requests.
No Reviewers
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Redstoner/redstoner.com#34