mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-26 16:52:08 +05:30
make title unlimited length, comment pubnix
This commit is contained in:
parent
61237981fe
commit
60b072bc74
@ -35,7 +35,7 @@
|
|||||||
const menus = [
|
const menus = [
|
||||||
{ name: "Instances", url: "/instances" },
|
{ name: "Instances", url: "/instances" },
|
||||||
{ name: "Donate", url: "/donate" },
|
{ name: "Donate", url: "/donate" },
|
||||||
{ name: "Pubnix", url: "/pubnix" },
|
// { name: "Pubnix", url: "/pubnix" },
|
||||||
{ name: "Contact us", url: "/contact" },
|
{ name: "Contact us", url: "/contact" },
|
||||||
{ name: "Our team", url: "/team" },
|
{ name: "Our team", url: "/team" },
|
||||||
{ name: "Timeline", url: "/timeline" },
|
{ name: "Timeline", url: "/timeline" },
|
||||||
|
@ -20,7 +20,7 @@ if (!building) {
|
|||||||
if (! await db.schema.hasTable("Announcements")) {
|
if (! await db.schema.hasTable("Announcements")) {
|
||||||
await db.schema.createTable("Announcements", (table) => {
|
await db.schema.createTable("Announcements", (table) => {
|
||||||
table.increments("id");
|
table.increments("id");
|
||||||
table.text("title").notNullable();
|
table.specificType("title", "varchar").notNullable();
|
||||||
table.string("severity").notNullable();
|
table.string("severity").notNullable();
|
||||||
table.string("author").notNullable();
|
table.string("author").notNullable();
|
||||||
table.string("link").nullable();
|
table.string("link").nullable();
|
||||||
|
Loading…
Reference in New Issue
Block a user