mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Add new mendatory fields.
This commit is contained in:
parent
6e6d4c2b04
commit
c44ed7a348
@ -16,6 +16,9 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis
|
|||||||
\`user_id\` int(10) unsigned NOT NULL,
|
\`user_id\` int(10) unsigned NOT NULL,
|
||||||
\`message\` varchar(2000) COLLATE utf8mb4_unicode_ci NOT NULL,
|
\`message\` varchar(2000) COLLATE utf8mb4_unicode_ci NOT NULL,
|
||||||
\`created_at\` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
\`created_at\` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
||||||
|
\`updated_at\` datetime DEFAULT NULL,
|
||||||
|
\`deleted_at\` datetime DEFAULT NULL,
|
||||||
|
\`deleted_by\` int(10) unsigned DEFAULT NULL,
|
||||||
PRIMARY KEY (\`id\`)
|
PRIMARY KEY (\`id\`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
`)
|
`)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user