// Version history array (add more with , '0.1' and so on)
setExtensionVersionHistory(array('0.0'));
-// This extension is in development (non-productive)
-enableExtensionProductive(false);
-
switch (getExtensionMode()) {
case 'register': // Do stuff when installtion is running
// This extension requires an up-to-date user
`coupon_expired` TIMESTAMP NULL DEFAULT NULL,
`coupon_type` ENUM('CODE','API') NOT NULL DEFAULT 'CODE',
`total_created` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
-`total_used` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
+`total_cashed` BIGINT(20) UNSIGNED NOT NULL DEFAULT 0,
`points` FLOAT(20,5) NOT NULL DEFAULT 0.00000,
`coupon_description` TEXT,
PRIMARY KEY (`id`)