added new eventLog type
This commit is contained in:
@ -227,7 +227,7 @@ export default function PublisherForm({ item, me }) {
|
||||
</div>
|
||||
<div className="mb-4">
|
||||
<label className="label" htmlFor="congregationId">Сбор</label>
|
||||
<select id="congregationId" name="congregationId" value={publisher.congregationId} onChange={handleChange} className="select" placeholder="Община" autoFocus >
|
||||
<select id="congregationId" name="congregationId" value={publisher.congregationId} onChange={handleChange} className="select textbox" placeholder="Община" autoFocus >
|
||||
<option value="">Избери сбор</option>
|
||||
{congregations.map((congregation) => (
|
||||
<option key={congregation.id} value={congregation.id}>
|
||||
|
@ -0,0 +1,19 @@
|
||||
-- AlterTable
|
||||
ALTER TABLE `eventlog`
|
||||
MODIFY `type` ENUM(
|
||||
'AssignmentReplacementManual', 'AssignmentReplacementRequested', 'AssignmentReplacementAccepted', 'SentEmail', 'PasswordResetRequested', 'PasswordResetEmailConfirmed', 'PasswordResetCompleted'
|
||||
) NOT NULL;
|
||||
|
||||
INSERT INTO
|
||||
`Congregation`
|
||||
VALUES (1, 'Перник', '', 1),
|
||||
(2, 'София Люлин', '', 1),
|
||||
(3, 'София Юг', '', 1),
|
||||
(4, 'София Надежда', '', 1),
|
||||
(5, 'София Руски', '', 1),
|
||||
(6, 'София Факултета', '', 1),
|
||||
(7, 'София Изток', '', 1),
|
||||
(8, 'София Младост', '', 1),
|
||||
(9, 'София Английски', '', 1),
|
||||
(10, 'Ботевград', '', 1),
|
||||
(11, 'София Дружба', '', 1);
|
Reference in New Issue
Block a user