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: generator:
defaultConnection: default defaultConnection: default
connections: [default] connections: [default]
objectModel:
addClassLevelComment: false

View file

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Comment as BaseComment; 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 class Comment extends BaseComment
{ {

View file

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Cryptokey as BaseCryptokey; 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 class Cryptokey extends BaseCryptokey
{ {

View file

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Domain as BaseDomain; 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 class Domain extends BaseDomain
{ {

View file

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\DomainMetaData as BaseDomainMetaData; 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 class DomainMetaData extends BaseDomainMetaData
{ {

View file

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Record as BaseRecord; 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 class Record extends BaseRecord
{ {

View file

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Supermaster as BaseSupermaster; 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 class Supermaster extends BaseSupermaster
{ {

View file

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Tsigkeys as BaseTsigkeys; 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 class Tsigkeys extends BaseTsigkeys
{ {

View file

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\Zone as BaseZone; 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 class Zone extends BaseZone
{ {

View file

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\ZoneRecord as BaseZoneRecord; 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 class ZoneRecord extends BaseZoneRecord
{ {

View file

@ -4,16 +4,6 @@ namespace Deblan\PowerDNS\Model;
use Deblan\PowerDNS\Model\Base\ZoneVersion as BaseZoneVersion; 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 class ZoneVersion extends BaseZoneVersion
{ {

View file

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