Open retreat-dev opened 2 years ago
CREATE TABLE family_ids
(
FamilyID
int(11) NOT NULL,
default
tinyint(1) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
ALTER TABLE family_ids
ADD PRIMARY KEY (FamilyID
);
ALTER TABLE family_ids
MODIFY FamilyID
int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=xxxx;
xxxx will be the next current id of the familyIDs .
To provide a PHP DB function to share with retreat/management for: