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}