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:
lovenunu
2014-07-14 20:12:40 +02:00
committed by Benjamin Perche
parent da5e43c8a7
commit b42ff568e0
7 changed files with 2549 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<database defaultIdMethod="native" name="thelia">
<table name="category" namespace="Thelia\Model">
<column autoIncrement="true" name="id" primaryKey="true" required="true" type="INTEGER" />
@@ -1491,4 +1492,18 @@
<parameter name="i18n_columns" value="title, description, chapo, postscriptum" />
</behavior>
</table>
<table name="form_firewall" namespace="Thelia\Model">
<column autoIncrement="true" name="id" primaryKey="true" required="true" type="INTEGER" />
<column name="form_name" required="true" type="VARCHAR" size="255" />
<column name="ip_address" required="true" type="VARCHAR" size="15" />
<column defaultValue="1" name="attempts" type="TINYINT" />
<index name="idx_form_firewall_form_name">
<index-column name="form_name" />
</index>
<index name="idx_form_firewall_ip_address">
<index-column name="ip_address" />
</index>
<behavior name="timestampable" />
</table>
</database>