diff --git a/src/apiBase b/src/apiBase index 04b90e6..32c1412 160000 --- a/src/apiBase +++ b/src/apiBase @@ -1 +1 @@ -Subproject commit 04b90e6c89741be266ab6597d66ab15c432ddc74 +Subproject commit 32c141206163633568461c9a84b5ab8ab2bb35f1 diff --git a/tools/dbScripts/answers.mysql b/tools/dbScripts/answers.mysql index 742d774..9f92cba 100644 --- a/tools/dbScripts/answers.mysql +++ b/tools/dbScripts/answers.mysql @@ -10,4 +10,4 @@ CREATE TABLE `answers` ( KEY `churchId` (`churchId`), KEY `formSubmissionId` (`formSubmissionId`), KEY `questionId` (`questionId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; \ No newline at end of file +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; \ No newline at end of file diff --git a/tools/dbScripts/formSubmissions.mysql b/tools/dbScripts/formSubmissions.mysql index 1c079ba..5ae6990 100644 --- a/tools/dbScripts/formSubmissions.mysql +++ b/tools/dbScripts/formSubmissions.mysql @@ -13,4 +13,4 @@ CREATE TABLE `formSubmissions` ( PRIMARY KEY (`id`), KEY `churchId` (`churchId`), KEY `formId` (`formId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; \ No newline at end of file +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; \ No newline at end of file diff --git a/tools/dbScripts/forms.mysql b/tools/dbScripts/forms.mysql index cd580b2..f827193 100644 --- a/tools/dbScripts/forms.mysql +++ b/tools/dbScripts/forms.mysql @@ -14,4 +14,4 @@ CREATE TABLE `forms` ( `removed` bit(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `churchId` (`churchId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; \ No newline at end of file +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; \ No newline at end of file diff --git a/tools/dbScripts/groupMembers.mysql b/tools/dbScripts/groupMembers.mysql index 3488cac..5cb0d5f 100644 --- a/tools/dbScripts/groupMembers.mysql +++ b/tools/dbScripts/groupMembers.mysql @@ -10,4 +10,4 @@ CREATE TABLE `groupMembers` ( KEY `churchId` (`churchId`), KEY `groupId` (`groupId`), KEY `personId` (`personId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; \ No newline at end of file +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; \ No newline at end of file diff --git a/tools/dbScripts/groups.mysql b/tools/dbScripts/groups.mysql index fe03720..f5d4d9d 100644 --- a/tools/dbScripts/groups.mysql +++ b/tools/dbScripts/groups.mysql @@ -10,4 +10,4 @@ CREATE TABLE `groups` ( `removed` bit(1) DEFAULT NULL, PRIMARY KEY (`id`), KEY `churchId` (`churchId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; \ No newline at end of file +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; \ No newline at end of file diff --git a/tools/dbScripts/households.mysql b/tools/dbScripts/households.mysql index 02a4fa2..ba4b832 100644 --- a/tools/dbScripts/households.mysql +++ b/tools/dbScripts/households.mysql @@ -6,4 +6,4 @@ CREATE TABLE `households` ( `name` varchar(50) DEFAULT NULL, PRIMARY KEY (`id`), KEY `churchId` (`churchId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; \ No newline at end of file +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; \ No newline at end of file diff --git a/tools/dbScripts/memberPermissions.mysql b/tools/dbScripts/memberPermissions.mysql index aab7c71..843c09b 100644 --- a/tools/dbScripts/memberPermissions.mysql +++ b/tools/dbScripts/memberPermissions.mysql @@ -8,4 +8,4 @@ CREATE TABLE `memberPermissions` ( `contentId` char(11) DEFAULT NULL, `action` varchar(45) DEFAULT NULL, PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; \ No newline at end of file +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; \ No newline at end of file diff --git a/tools/dbScripts/people.mysql b/tools/dbScripts/people.mysql index 2fc6a90..0bff66c 100644 --- a/tools/dbScripts/people.mysql +++ b/tools/dbScripts/people.mysql @@ -31,4 +31,4 @@ CREATE TABLE `people` ( PRIMARY KEY (`id`), KEY `churchId` (`churchId`), KEY `householdId` (`householdId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; \ No newline at end of file +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; \ No newline at end of file diff --git a/tools/dbScripts/questions.mysql b/tools/dbScripts/questions.mysql index f67182c..d42a410 100644 --- a/tools/dbScripts/questions.mysql +++ b/tools/dbScripts/questions.mysql @@ -16,4 +16,4 @@ CREATE TABLE `questions` ( PRIMARY KEY (`id`), KEY `churchId` (`churchId`), KEY `formId` (`formId`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; \ No newline at end of file +) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_520_ci; \ No newline at end of file