Added families. (#511)

* Added families.

* Added joining of families.
This commit is contained in:
Ubaware
2019-08-19 10:16:10 -07:00
committed by Ronan Lana
parent f958624f6a
commit ec5a412e37
33 changed files with 1670 additions and 276 deletions

View File

@@ -12853,17 +12853,26 @@ CREATE TABLE IF NOT EXISTS `famelog` (
CREATE TABLE IF NOT EXISTS `family_character` (
`cid` int(11) NOT NULL,
`familyid` int(11) NOT NULL,
`rank` int(11) NOT NULL,
`reputation` int(11) NOT NULL,
`todaysrep` int(11) NOT NULL,
`totaljuniors` int(11) NOT NULL,
`name` varchar(255) NOT NULL,
`juniorsadded` int(11) NOT NULL,
`totalreputation` int(11) NOT NULL,
`seniorid` int(11) NOT NULL,
`reputation` int(11) NOT NULL DEFAULT '0',
`todaysrep` int(11) NOT NULL DEFAULT '0',
`totalreputation` int(11) NOT NULL DEFAULT '0',
`reptosenior` int(11) NOT NULL DEFAULT '0',
`precepts` varchar(200) DEFAULT NULL,
`lastresettime` BIGINT(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`cid`),
INDEX (cid, familyid)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE IF NOT EXISTS `family_entitlement` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`charid` int(11) NOT NULL,
`entitlementid` int(11) NOT NULL,
`timestamp` BIGINT(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
INDEX (charid)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
CREATE TABLE IF NOT EXISTS `fredstorage` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`cid` int(10) unsigned NOT NULL,