make title unlimited length, comment pubnix

This commit is contained in:
Akis 2023-01-10 15:39:23 +02:00
parent 61237981fe
commit 60b072bc74
Signed by untrusted user: akis
GPG Key ID: 267BF5C6677944ED
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
const menus = [
{ name: "Instances", url: "/instances" },
{ name: "Donate", url: "/donate" },
{ name: "Pubnix", url: "/pubnix" },
// { name: "Pubnix", url: "/pubnix" },
{ name: "Contact us", url: "/contact" },
{ name: "Our team", url: "/team" },
{ name: "Timeline", url: "/timeline" },

View File

@ -20,7 +20,7 @@ if (!building) {
if (! await db.schema.hasTable("Announcements")) {
await db.schema.createTable("Announcements", (table) => {
table.increments("id");
table.text("title").notNullable();
table.specificType("title", "varchar").notNullable();
table.string("severity").notNullable();
table.string("author").notNullable();
table.string("link").nullable();