Jump to content

Missing database tables


cbolt

Recommended Posts

Hi

 

Unfortunatly I've lost some tables due to InnoDB corruption and my backups are broken too.

Luckily they are not important tables and WHMCS still runs OK.

 

Could someone who is still running version 5.3.14 please post the structure for the following tables so I can re-build them:

 

tbldomainreminders

tblticketfeedback

tbltickettags

tbltransientdata

Link to comment
Share on other sites

Sure thing cbolt,

 

The 4 table structures you need are:

 

 

== tbldomainreminders ==

 

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------

-- Table structure for tbldomainreminders

-- ----------------------------

DROP TABLE IF EXISTS `tbldomainreminders`;

CREATE TABLE `tbldomainreminders` (

 `id` int(10) NOT NULL AUTO_INCREMENT,

 `domain_id` int(10) NOT NULL,

 `date` date NOT NULL,

 `recipients` text NOT NULL,

 `type` tinyint(4) NOT NULL,

 `days_before_expiry` tinyint(4) NOT NULL,

 PRIMARY KEY (`id`)

) ENGINE=InnoDB AUTO_INCREMENT=4211 DEFAULT CHARSET=utf8;

== tbltransientdata ==

 

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------

-- Table structure for tbltransientdata

-- ----------------------------

DROP TABLE IF EXISTS `tbltransientdata`;

CREATE TABLE `tbltransientdata` (

 `id` int(10) NOT NULL AUTO_INCREMENT,

 `name` varchar(1024) NOT NULL,

 `data` text NOT NULL,

 `expires` int(10) NOT NULL,

 PRIMARY KEY (`id`),

 KEY `name` (`name`(255))

) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

 

 

== tbltickettags ==

 

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------

-- Table structure for tbltickettags

-- ----------------------------

DROP TABLE IF EXISTS `tbltickettags`;

CREATE TABLE `tbltickettags` (

 `id` int(10) NOT NULL AUTO_INCREMENT,

 `ticketid` int(10) NOT NULL,

 `tag` text NOT NULL,

 PRIMARY KEY (`id`)

) ENGINE=InnoDB DEFAULT CHARSET=latin1;


== tblticketfeedback ==

 

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------

-- Table structure for tblticketfeedback

-- ----------------------------

DROP TABLE IF EXISTS `tblticketfeedback`;

CREATE TABLE `tblticketfeedback` (

 `id` int(10) NOT NULL AUTO_INCREMENT,

 `ticketid` int(10) NOT NULL,

 `adminid` int(10) NOT NULL,

 `rating` int(2) NOT NULL,

 `comments` text NOT NULL,

 `datetime` datetime NOT NULL,

 `ip` text NOT NULL,

 PRIMARY KEY (`id`)

) ENGINE=InnoDB AUTO_INCREMENT=799 DEFAULT CHARSET=latin1;

 

Best,

Trevor~

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated