Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
DROP TABLE IF EXISTS `coupon`;
CREATE TABLE `coupon` (
`coupon_id` INTEGER PRIMARY KEY AUTOINCREMENT,
`name` TEXT NOT NULL,
`code` TEXT NOT NULL,
`type` char(1) NOT NULL,
`discount` decimal(15,4) NOT NULL,
`total` decimal(15,4) NOT NULL,
`limit` INT NOT NULL,
`limit_user` TEXT NOT NULL,
`logged_in` TINYINT NOT NULL,
`free_shipping` TINYINT NOT NULL,
`status` TINYINT NOT NULL,
`from_date` date,
`to_date` date,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP
-- PRIMARY KEY (`coupon_id`)
);