From 6219c04df5b116eeeae371b7f3e6e25494cbf202 Mon Sep 17 00:00:00 2001 From: Akis Date: Sun, 1 Jan 2023 12:24:23 +0200 Subject: [PATCH] make announcements nicer --- src/lib/db.ts | 2 +- src/routes/Announcements.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/db.ts b/src/lib/db.ts index 0ccaa54..2c986f5 100644 --- a/src/lib/db.ts +++ b/src/lib/db.ts @@ -13,7 +13,7 @@ const sequelize = new Sequelize({ sequelize.define("Announcements", { title: { - type: DataTypes.STRING, + type: DataTypes.TEXT, allowNull: false }, severity: { diff --git a/src/routes/Announcements.svelte b/src/routes/Announcements.svelte index 11ea143..e269157 100644 --- a/src/routes/Announcements.svelte +++ b/src/routes/Announcements.svelte @@ -51,7 +51,7 @@
-
+
{@html data.content}