[Request] plus.cms_news Database Table [Request]

Jwake

Member
Feb 12, 2016
140
10
Hello, DevBesters!
So, when I made my hotel, the database for the hotel didn't come with the 'plus.cms_news' table for PlusEMU. If you could give me the SQL, that would be amazing! Thank you :3
 

Haid

Member
Dec 20, 2011
363
449
Side note, this is nothing to do with PlusEMU, your cms is requiring this table.
A quick google would of bought you to the fix on DB :p
Code:
CREATE TABLE `cms_news` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) COLLATE latin1_general_ci DEFAULT NULL,
`shortstory` text COLLATE latin1_general_ci,
`longstory` text COLLATE latin1_general_ci,
`published` int(10) NOT NULL DEFAULT '0',
`image` varchar(255) COLLATE latin1_general_ci DEFAULT '/Public/Images/news/TS_Web60.png',
`campaign` int(1) NOT NULL DEFAULT '0',
`campaignimg` varchar(255) COLLATE latin1_general_ci NOT NULL,
`author` int(6) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
 

Jwake

Member
Feb 12, 2016
140
10
Side note, this is nothing to do with PlusEMU, your cms is requiring this table.
A quick google would of bought you to the fix on DB :p
Code:
CREATE TABLE `cms_news` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(255) COLLATE latin1_general_ci DEFAULT NULL,
`shortstory` text COLLATE latin1_general_ci,
`longstory` text COLLATE latin1_general_ci,
`published` int(10) NOT NULL DEFAULT '0',
`image` varchar(255) COLLATE latin1_general_ci DEFAULT '/Public/Images/news/TS_Web60.png',
`campaign` int(1) NOT NULL DEFAULT '0',
`campaignimg` varchar(255) COLLATE latin1_general_ci NOT NULL,
`author` int(6) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=latin1 COLLATE=latin1_general_ci;
I've done what the guy above you said, I'ma mark it best answer as it did work. Thanks though!
 

Users who are viewing this thread

Top