summary refs log tree commit diff
path: root/src/util/entities/EmbedCache.ts
diff options
context:
space:
mode:
authorTomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>2024-08-17 12:33:32 +0200
committerTomatoCake <60300461+DEVTomatoCake@users.noreply.github.com>2024-08-17 12:33:32 +0200
commited28de95a5742ae590f31121fffa78b4f7db4d66 (patch)
tree59af9ed138ef09508bf7d69d4a2d50962f9ba9a6 /src/util/entities/EmbedCache.ts
parentMerge pull request #1175 from DEVTomatoCake/fix/send-204-status (diff)
downloadserver-ts-ed28de95a5742ae590f31121fffa78b4f7db4d66.tar.xz
Add utf8mb4 "engine" property to all entitys
Diffstat (limited to 'src/util/entities/EmbedCache.ts')
-rw-r--r--src/util/entities/EmbedCache.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/util/entities/EmbedCache.ts b/src/util/entities/EmbedCache.ts

index 8ff2a457..f2dcd893 100644 --- a/src/util/entities/EmbedCache.ts +++ b/src/util/entities/EmbedCache.ts
@@ -1,17 +1,17 @@ /* Spacebar: A FOSS re-implementation and extension of the Discord.com backend. Copyright (C) 2023 Spacebar and Spacebar Contributors - + This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. - + You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. */ @@ -20,7 +20,7 @@ import { BaseClass } from "./BaseClass"; import { Entity, Column } from "typeorm"; import { Embed } from "./Message"; -@Entity("embed_cache") +@Entity({name: "embed_cache", engine: "InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci"}) export class EmbedCache extends BaseClass { @Column() url: string;