-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #730 from fruux/utf8mb4
Switch to utf8mb4 for mysql tables.
- Loading branch information
Showing
8 changed files
with
22 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,15 +4,14 @@ CREATE TABLE principals ( | |
email VARBINARY(80), | ||
displayname VARCHAR(80), | ||
UNIQUE(uri) | ||
); | ||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; | ||
|
||
CREATE TABLE groupmembers ( | ||
id INTEGER UNSIGNED NOT NULL PRIMARY KEY AUTO_INCREMENT, | ||
principal_id INTEGER UNSIGNED NOT NULL, | ||
member_id INTEGER UNSIGNED NOT NULL, | ||
UNIQUE(principal_id, member_id) | ||
); | ||
|
||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; | ||
|
||
INSERT INTO principals (uri,email,displayname) VALUES | ||
('principals/admin', '[email protected]','Administrator'), | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,6 +14,6 @@ class Version { | |
/** | ||
* Full version number | ||
*/ | ||
const VERSION = '3.0.5'; | ||
const VERSION = '3.0.6'; | ||
|
||
} |