Define firewall model
new file: core/lib/Thelia/Model/Base/FormFirewall.php new file: core/lib/Thelia/Model/Base/FormFirewallQuery.php new file: core/lib/Thelia/Model/FormFirewall.php new file: core/lib/Thelia/Model/FormFirewallQuery.php new file: core/lib/Thelia/Model/Map/FormFirewallTableMap.php modified: local/config/schema.xml modified: setup/thelia.sql
This commit is contained in:
committed by
Benjamin Perche
parent
da5e43c8a7
commit
b42ff568e0
@@ -1842,6 +1842,25 @@ CREATE TABLE `brand_image`
|
||||
ON DELETE CASCADE
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- form_firewall
|
||||
-- ---------------------------------------------------------------------
|
||||
|
||||
DROP TABLE IF EXISTS `form_firewall`;
|
||||
|
||||
CREATE TABLE `form_firewall`
|
||||
(
|
||||
`id` INTEGER NOT NULL AUTO_INCREMENT,
|
||||
`form_name` VARCHAR(255) NOT NULL,
|
||||
`ip_address` VARCHAR(15) NOT NULL,
|
||||
`attempts` TINYINT DEFAULT 1,
|
||||
`created_at` DATETIME,
|
||||
`updated_at` DATETIME,
|
||||
PRIMARY KEY (`id`),
|
||||
INDEX `idx_form_firewall_form_name` (`form_name`),
|
||||
INDEX `idx_form_firewall_ip_address` (`ip_address`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- category_i18n
|
||||
-- ---------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user