github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/schema/pgsql/query_menu_items.sql (about) 1 CREATE TABLE "menu_items" ( 2 `miid` serial not null, 3 `mid` int not null, 4 `name` varchar (200) DEFAULT '' not null, 5 `htmlID` varchar (200) DEFAULT '' not null, 6 `cssClass` varchar (200) DEFAULT '' not null, 7 `position` varchar (100) not null, 8 `path` varchar (200) DEFAULT '' not null, 9 `aria` varchar (200) DEFAULT '' not null, 10 `tooltip` varchar (200) DEFAULT '' not null, 11 `tmplName` varchar (200) DEFAULT '' not null, 12 `order` int DEFAULT 0 not null, 13 `guestOnly` boolean DEFAULT 0 not null, 14 `memberOnly` boolean DEFAULT 0 not null, 15 `staffOnly` boolean DEFAULT 0 not null, 16 `adminOnly` boolean DEFAULT 0 not null, 17 primary key(`miid`) 18 );