Removing auto generated comments

This commit is contained in:
Simon Vieille 2015-02-18 14:17:17 +01:00
parent 1aa7940054
commit 71735c752c
12 changed files with 138 additions and 224 deletions

View File

@ -29,3 +29,5 @@ propel:
generator:
defaultConnection: default
connections: [default]
objectModel:
addClassLevelComment: false

View File

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Comment as BaseComment;
/**
* Skeleton subclass for representing a row from the 'comments' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
*/
class Comment extends BaseComment
{

View File

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Cryptokey as BaseCryptokey;
/**
* Skeleton subclass for representing a row from the 'cryptokeys' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
*/
class Cryptokey extends BaseCryptokey
{

View File

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Domain as BaseDomain;
/**
* Skeleton subclass for representing a row from the 'domains' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
*/
class Domain extends BaseDomain
{

View File

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\DomainMetaData as BaseDomainMetaData;
/**
* Skeleton subclass for representing a row from the 'domainmetadata' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
*/
class DomainMetaData extends BaseDomainMetaData
{

View File

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Record as BaseRecord;
/**
* Skeleton subclass for representing a row from the 'records' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
*/
class Record extends BaseRecord
{

View File

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Supermaster as BaseSupermaster;
/**
* Skeleton subclass for representing a row from the 'supermasters' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
*/
class Supermaster extends BaseSupermaster
{

View File

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Tsigkeys as BaseTsigkeys;
/**
* Skeleton subclass for representing a row from the 'tsigkeys' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
*/
class Tsigkeys extends BaseTsigkeys
{

View File

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Zone as BaseZone;
/**
* Skeleton subclass for representing a row from the 'zone' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
*/
class Zone extends BaseZone
{

View File

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\ZoneRecord as BaseZoneRecord;
/**
* Skeleton subclass for representing a row from the 'zone_record' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
*/
class ZoneRecord extends BaseZoneRecord
{

View File

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\ZoneVersion as BaseZoneVersion;
/**
* Skeleton subclass for representing a row from the 'zone_version' table.
*
*
*
* You should add additional methods to this class to meet the
* application requirements. This class will only be generated as
* long as it does not already exist in the output directory.
*
*/
class ZoneVersion extends BaseZoneVersion
{

View File

@ -1,125 +1,137 @@
<database name="default" namespace="Deblan\PowerDNS\Model" defaultIdMethod="native"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xsd.propelorm.org/1.6/database.xsd">
<table name="comments" idMethod="native" phpName="Comment">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="domain_id" phpName="DomainId" type="INTEGER" required="true"/>
<column name="name" phpName="Name" type="VARCHAR" size="255" required="true"/>
<column name="type" phpName="Type" type="VARCHAR" size="10" required="true"/>
<column name="modified_at" phpName="ModifiedAt" type="INTEGER" required="true"/>
<column name="account" phpName="Account" type="VARCHAR" size="40" required="true"/>
<column name="comment" phpName="Comment" type="VARCHAR" size="64000" required="true"/>
<index name="comments_domain_id_idx">
<index-column name="domain_id"/>
</index>
<index name="comments_name_type_idx">
<index-column name="name"/>
<index-column name="type"/>
</index>
<index name="comments_order_idx">
<index-column name="domain_id"/>
<index-column name="modified_at"/>
</index>
</table>
<table name="cryptokeys" idMethod="native" phpName="Cryptokey">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="domain_id" phpName="DomainId" type="INTEGER" required="true"/>
<column name="flags" phpName="Flags" type="INTEGER" required="true"/>
<column name="active" phpName="Active" type="BOOLEAN" size="1"/>
<column name="content" phpName="Content" type="LONGVARCHAR"/>
<index name="domainidindex">
<index-column name="domain_id"/>
</index>
</table>
<table name="domainmetadata" idMethod="native" phpName="DomainMetaData">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="domain_id" phpName="DomainId" type="INTEGER" required="true"/>
<column name="kind" phpName="Kind" type="VARCHAR" size="32"/>
<column name="content" phpName="Content" type="LONGVARCHAR"/>
<index name="domainmetadata_idx">
<index-column name="domain_id"/>
<index-column name="kind"/>
</index>
</table>
<table name="domains" idMethod="native" phpName="Domain">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="name" phpName="Name" type="VARCHAR" size="255" required="true"/>
<column name="master" phpName="Master" type="VARCHAR" size="128"/>
<column name="last_check" phpName="LastCheck" type="INTEGER"/>
<column name="type" phpName="Type" type="VARCHAR" size="6" required="true"/>
<column name="notified_serial" phpName="NotifiedSerial" type="INTEGER"/>
<column name="account" phpName="Account" type="VARCHAR" size="40"/>
<unique name="name_index">
<unique-column name="name"/>
</unique>
</table>
<table name="records" idMethod="native" phpName="Record">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="domain_id" phpName="DomainId" type="INTEGER"/>
<column name="name" phpName="Name" type="VARCHAR" size="255"/>
<column name="type" phpName="Type" type="VARCHAR" size="10"/>
<column name="content" phpName="Content" type="VARCHAR" size="64000"/>
<column name="ttl" phpName="Ttl" type="INTEGER"/>
<column name="prio" phpName="Prio" type="INTEGER"/>
<column name="change_date" phpName="ChangeDate" type="INTEGER"/>
<column name="disabled" phpName="Disabled" type="BOOLEAN" size="1" defaultValue="false"/>
<column name="ordername" phpName="Ordername" type="VARCHAR" size="255"/>
<column name="auth" phpName="Auth" type="BOOLEAN" size="1" defaultValue="true"/>
<index name="nametype_index">
<index-column name="name"/>
<index-column name="type"/>
</index>
<index name="domain_id">
<index-column name="domain_id"/>
</index>
<index name="recordorder">
<index-column name="domain_id"/>
<index-column name="ordername"/>
</index>
</table>
<table name="supermasters" idMethod="native" phpName="Supermaster">
<column name="ip" phpName="Ip" type="VARCHAR" size="64" primaryKey="true" required="true"/>
<column name="nameserver" phpName="Nameserver" type="VARCHAR" size="255" primaryKey="true" required="true"/>
<column name="account" phpName="Account" type="VARCHAR" size="40" required="true"/>
</table>
<table name="tsigkeys" idMethod="native" phpName="Tsigkeys">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="name" phpName="Name" type="VARCHAR" size="255"/>
<column name="algorithm" phpName="Algorithm" type="VARCHAR" size="50"/>
<column name="secret" phpName="Secret" type="VARCHAR" size="255"/>
<unique name="namealgoindex">
<unique-column name="name"/>
<unique-column name="algorithm"/>
</unique>
</table>
<table name="zone" phpName="Zone" isCrossRef="true">
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
<column name="name" type="VARCHAR" size="255" required="true" />
<column name="description" type="VARCHAR" size="255" required="false" />
<column name="active_version" type="INTEGER" required="true" defaultValue="1" />
<behavior name="timestampable" />
</table>
<table name="zone_version" phpName="ZoneVersion" isCrossRef="true">
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
<column name="zone_id" type="INTEGER" required="true" />
<column name="is_active" type="BOOLEAN" required="true" defaultValue="false" />
<column name="version" type="INTEGER" defaultValue="1" />
<foreign-key foreignTable="zone" onDelete="cascade" onUpdate="cascade">
<reference local="zone_id" foreign="id"/>
</foreign-key>
<behavior name="timestampable" />
</table>
<table name="zone_record" phpName="ZoneRecord" isCrossRef="true">
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
<column name="zone_version_id" type="INTEGER" required="true" />
<column name="name" type="VARCHAR" size="255" required="true" />
<column name="type" type="ENUM" required="true" valueSet="A, AAAA, CNAME, MX, NS, TXT, SPF, WKS, SRV, LOC, SOA" />
<column name="content" type="VARCHAR" size="255" required="true" />
<column name="ttl" type="integer" required="true" defaultValue="3600" />
<column name="prio" type="integer" required="false" />
<foreign-key foreignTable="zone_version" onDelete="cascade" onUpdate="cascade">
<reference local="zone_version_id" foreign="id"/>
</foreign-key>
<behavior name="timestampable" />
</table>
</database>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://xsd.propelorm.org/1.6/database.xsd">
<table name="comments" idMethod="native" phpName="Comment">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="domain_id" phpName="DomainId" type="INTEGER" required="true"/>
<column name="name" phpName="Name" type="VARCHAR" size="255" required="true"/>
<column name="type" phpName="Type" type="VARCHAR" size="10" required="true"/>
<column name="modified_at" phpName="ModifiedAt" type="INTEGER" required="true"/>
<column name="account" phpName="Account" type="VARCHAR" size="40" required="true"/>
<column name="comment" phpName="Comment" type="VARCHAR" size="64000" required="true"/>
<index name="comments_domain_id_idx">
<index-column name="domain_id"/>
</index>
<index name="comments_name_type_idx">
<index-column name="name"/>
<index-column name="type"/>
</index>
<index name="comments_order_idx">
<index-column name="domain_id"/>
<index-column name="modified_at"/>
</index>
<foreign-key foreignTable="domains" onDelete="cascade" onUpdate="cascade">
<reference local="domain_id" foreign="id"/>
</foreign-key>
</table>
<table name="cryptokeys" idMethod="native" phpName="Cryptokey">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="domain_id" phpName="DomainId" type="INTEGER" required="true"/>
<column name="flags" phpName="Flags" type="INTEGER" required="true"/>
<column name="active" phpName="Active" type="BOOLEAN" size="1"/>
<column name="content" phpName="Content" type="LONGVARCHAR"/>
<index name="domainidindex">
<index-column name="domain_id"/>
</index>
<foreign-key foreignTable="domains" onDelete="cascade" onUpdate="cascade">
<reference local="domain_id" foreign="id"/>
</foreign-key>
</table>
<table name="domainmetadata" idMethod="native" phpName="DomainMetaData">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="domain_id" phpName="DomainId" type="INTEGER" required="true"/>
<column name="kind" phpName="Kind" type="VARCHAR" size="32"/>
<column name="content" phpName="Content" type="LONGVARCHAR"/>
<index name="domainmetadata_idx">
<index-column name="domain_id"/>
<index-column name="kind"/>
</index>
<foreign-key foreignTable="domains" onDelete="cascade" onUpdate="cascade">
<reference local="domain_id" foreign="id"/>
</foreign-key>
</table>
<table name="domains" idMethod="native" phpName="Domain">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="name" phpName="Name" type="VARCHAR" size="255" required="true"/>
<column name="master" phpName="Master" type="VARCHAR" size="128"/>
<column name="last_check" phpName="LastCheck" type="INTEGER"/>
<column name="type" phpName="Type" type="VARCHAR" size="6" required="true"/>
<column name="notified_serial" phpName="NotifiedSerial" type="INTEGER"/>
<column name="account" phpName="Account" type="VARCHAR" size="40"/>
<unique name="name_index">
<unique-column name="name"/>
</unique>
</table>
<table name="records" idMethod="native" phpName="Record">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="domain_id" phpName="DomainId" type="INTEGER"/>
<column name="name" phpName="Name" type="VARCHAR" size="255"/>
<column name="type" phpName="Type" type="VARCHAR" size="10"/>
<column name="content" phpName="Content" type="VARCHAR" size="64000"/>
<column name="ttl" phpName="Ttl" type="INTEGER"/>
<column name="prio" phpName="Prio" type="INTEGER"/>
<column name="change_date" phpName="ChangeDate" type="INTEGER"/>
<column name="disabled" phpName="Disabled" type="BOOLEAN" size="1" defaultValue="false"/>
<column name="ordername" phpName="Ordername" type="VARCHAR" size="255"/>
<column name="auth" phpName="Auth" type="BOOLEAN" size="1" defaultValue="true"/>
<index name="nametype_index">
<index-column name="name"/>
<index-column name="type"/>
</index>
<index name="domain_id">
<index-column name="domain_id"/>
</index>
<index name="recordorder">
<index-column name="domain_id"/>
<index-column name="ordername"/>
</index>
<foreign-key foreignTable="domains" onDelete="cascade" onUpdate="cascade">
<reference local="domain_id" foreign="id"/>
</foreign-key>
</table>
<table name="supermasters" idMethod="native" phpName="Supermaster">
<column name="ip" phpName="Ip" type="VARCHAR" size="64" primaryKey="true" required="true"/>
<column name="nameserver" phpName="Nameserver" type="VARCHAR" size="255" primaryKey="true" required="true"/>
<column name="account" phpName="Account" type="VARCHAR" size="40" required="true"/>
</table>
<table name="tsigkeys" idMethod="native" phpName="Tsigkeys">
<column name="id" phpName="Id" type="INTEGER" primaryKey="true" autoIncrement="true" required="true"/>
<column name="name" phpName="Name" type="VARCHAR" size="255"/>
<column name="algorithm" phpName="Algorithm" type="VARCHAR" size="50"/>
<column name="secret" phpName="Secret" type="VARCHAR" size="255"/>
<unique name="namealgoindex">
<unique-column name="name"/>
<unique-column name="algorithm"/>
</unique>
</table>
<table name="zone" phpName="Zone" isCrossRef="true">
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
<column name="name" type="VARCHAR" size="255" required="true" />
<column name="description" type="VARCHAR" size="255" required="false" />
<column name="active_version" type="INTEGER" required="true" defaultValue="1" />
<behavior name="timestampable" />
</table>
<table name="zone_version" phpName="ZoneVersion" isCrossRef="true">
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
<column name="zone_id" type="INTEGER" required="true" />
<column name="is_active" type="BOOLEAN" required="true" defaultValue="false" />
<column name="version" type="INTEGER" defaultValue="1" />
<foreign-key foreignTable="zone" onDelete="cascade" onUpdate="cascade">
<reference local="zone_id" foreign="id"/>
</foreign-key>
<behavior name="timestampable" />
</table>
<table name="zone_record" phpName="ZoneRecord" isCrossRef="true">
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
<column name="zone_version_id" type="INTEGER" required="true" />
<column name="name" type="VARCHAR" size="255" required="true" />
<column name="type" type="ENUM" required="true" valueSet="A, AAAA, CNAME, MX, NS, TXT, SPF, WKS, SRV, LOC, SOA" />
<column name="content" type="VARCHAR" size="255" required="true" />
<column name="ttl" type="integer" required="true" defaultValue="3600" />
<column name="prio" type="integer" required="false" />
<foreign-key foreignTable="zone_version" onDelete="cascade" onUpdate="cascade">
<reference local="zone_version_id" foreign="id"/>
</foreign-key>
<behavior name="timestampable" />
</table>
</database>