Members Warning SQL

Started by BamBam0077, November 20, 2017, 05:12:46 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

BamBam0077


CREATE TABLE `member_warnings` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`memberid` int(10) unsigned NOT NULL DEFAULT '1',
`warning_date` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`active_warning` enum('yes','no') COLLATE utf8_unicode_ci NOT NULL DEFAULT 'no',
`strikes_against` int(10) unsigned NOT NULL DEFAULT '0',
`expiry_timeout` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`reasons` blob,
`notes` blob,
`warned_by` blob,
PRIMARY KEY (`id`),
KEY `memberid` (`memberid`),
KEY `expired_warning` (`expiry_timeout`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;


hope this helps out yo!
"When Darkness Shadows Your Doubts, Deep Within Us Is Our Key, Not Success But Everything" ~ Anonymous