Add new mendatory fields.

This commit is contained in:
elweyn 2022-08-16 15:48:53 +02:00
parent 6e6d4c2b04
commit c44ed7a348

View File

@ -16,6 +16,9 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis
\`user_id\` int(10) unsigned NOT NULL,
\`message\` varchar(2000) COLLATE utf8mb4_unicode_ci NOT NULL,
\`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\`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
`)