Update database/migrations/0044-adapt_users_table_for_gradidoid.ts

Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
clauspeterhuebner 2022-07-19 02:47:17 +02:00 committed by GitHub
parent 950241a2f0
commit 3a9186d192
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis
CREATE TABLE IF NOT EXISTS \`user_contacts\` (
\`id\` int(10) unsigned NOT NULL AUTO_INCREMENT,
\`type\` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
\`users_id\` int(10) unsigned NOT NULL,
\`user_id\` int(10) unsigned NOT NULL,
\`email\` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL UNIQUE,
\`email_hash\` binary(32) NULL,
\`email_checked\` tinyint(4) NOT NULL DEFAULT 0,