Commit f59131f0 authored by meus's avatar meus

fixing previous commit, these files should not be modified

parent c477b35d
...@@ -227,7 +227,7 @@ $plugins->addTestCase(new Doctrine_Validator_TestCase()); ...@@ -227,7 +227,7 @@ $plugins->addTestCase(new Doctrine_Validator_TestCase());
$plugins->addTestCase(new Doctrine_Validator_Future_TestCase()); $plugins->addTestCase(new Doctrine_Validator_Future_TestCase());
$plugins->addTestCase(new Doctrine_Validator_Past_TestCase()); $plugins->addTestCase(new Doctrine_Validator_Past_TestCase());
$plugins->addTestCase(new Doctrine_Hook_TestCase()); $plugins->addTestCase(new Doctrine_Hook_TestCase());
//$plugins->addTestCase(new Doctrine_I18n_TestCase()); $plugins->addTestCase(new Doctrine_I18n_TestCase());
$test->addTestCase($plugins); $test->addTestCase($plugins);
// Db component // Db component
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<data><Entity><tableName>entity</tableName><className>Entity</className><columns><id><autoincrement>1</autoincrement><primary>1</primary><type>integer</type><length>20</length><name>id</name></id><name><type>string</type><length>50</length><name>name</name></name><loginname><unique>1</unique><type>string</type><length>20</length><name>loginname</name></loginname><password><type>string</type><length>16</length><name>password</name></password><type><type>integer</type><length>1</length><name>type</name></type><created><type>integer</type><length>11</length><name>created</name></created><updated><type>integer</type><length>11</length><name>updated</name></updated><email_id><type>integer</type><length>2147483647</length><name>email_id</name></email_id></columns><relations><Email><local>email_id</local><foreign>id</foreign><type>one</type></Email><Phonenumber><local>id</local><foreign>entity_id</foreign><type>many</type></Phonenumber><Account><local>id</local><foreign>entity_id</foreign><type>one</type></Account><Entity><refClass>EntityReference</refClass><local>entity1</local><foreign>entity2</foreign><type>many</type></Entity><EntityReference><local>id</local><foreign>entity1</foreign><type>many</type></EntityReference></relations></Entity><Address><tableName>address</tableName><className>Address</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><address><type>string</type><length>200</length><name>address</name></address></columns><relations><User><refClass>EntityAddress</refClass><local>address_id</local><foreign>user_id</foreign><type>many</type></User><EntityAddress><local>id</local><foreign>address_id</foreign><type>many</type></EntityAddress></relations></Address><EntityAddress><tableName>entity_address</tableName><className>EntityAddress</className><columns><user_id><primary>1</primary><type>integer</type><length>2147483647</length><name>user_id</name></user_id><address_id><primary>1</primary><type>integer</type><length>2147483647</length><name>address_id</name></address_id></columns><relations><Address><local>address_id</local><foreign>id</foreign><type>one</type></Address><User><local>user_id</local><foreign>id</foreign><type>one</type></User></relations></EntityAddress><ResourceType><tableName>resource_type</tableName><className>ResourceType</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><type><type>string</type><length>100</length><name>type</name></type></columns><relations><ResourceAlias><refClass>ResourceReference</refClass><class>Resource</class><local>resourcetype_id</local><foreign>resource_id</foreign><type>many</type></ResourceAlias><ResourceReference><local>id</local><foreign>resourcetype_id</foreign><type>many</type></ResourceReference></relations></ResourceType><Group><tableName>entity</tableName><className>Group</className><columns><id><autoincrement>1</autoincrement><primary>1</primary><type>integer</type><length>20</length><name>id</name></id><name><type>string</type><length>50</length><name>name</name></name><loginname><unique>1</unique><type>string</type><length>20</length><name>loginname</name></loginname><password><type>string</type><length>16</length><name>password</name></password><type><type>integer</type><length>1</length><name>type</name></type><created><type>integer</type><length>11</length><name>created</name></created><updated><type>integer</type><length>11</length><name>updated</name></updated><email_id><type>integer</type><length>2147483647</length><name>email_id</name></email_id></columns><relations><Email><local>email_id</local><foreign>id</foreign><type>one</type></Email><Phonenumber><local>id</local><foreign>entity_id</foreign><type>many</type></Phonenumber><Account><local>id</local><foreign>entity_id</foreign><type>one</type></Account><Entity><refClass>EntityReference</refClass><local>entity1</local><foreign>entity2</foreign><type>many</type></Entity><User><refClass>Groupuser</refClass><local>group_id</local><foreign>user_id</foreign><type>many</type></User><EntityReference><local>id</local><foreign>entity1</foreign><type>many</type></EntityReference><Groupuser><local>id</local><foreign>group_id</foreign><type>many</type></Groupuser></relations></Group><Error><tableName>error</tableName><className>Error</className><columns><message><type>string</type><length>200</length><name>message</name></message><code><type>integer</type><length>11</length><name>code</name></code><file_md5><primary>1</primary><type>string</type><length>32</length><name>file_md5</name></file_md5></columns><relations><Description><local>file_md5</local><foreign>file_md5</foreign><type>one</type></Description></relations></Error><ResourceReference><tableName>resource_reference</tableName><className>ResourceReference</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><type_id><type>integer</type><length>2147483647</length><name>type_id</name></type_id><resource_id><type>integer</type><length>2147483647</length><name>resource_id</name></resource_id></columns><relations><ResourceType><local>resourcetype_id</local><foreign>id</foreign><type>one</type></ResourceType><Resource><local>resource_id</local><foreign>id</foreign><type>one</type></Resource></relations></ResourceReference><Song><tableName>song</tableName><className>Song</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><album_id><type>integer</type><length>2147483647</length><name>album_id</name></album_id><genre><type>string</type><length>20</length><name>genre</name></genre><title><type>string</type><length>30</length><name>title</name></title></columns><relations><Album><local>album_id</local><foreign>id</foreign><type>one</type></Album></relations></Song><Task><tableName>task</tableName><className>Task</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><name><type>string</type><length>100</length><name>name</name></name><parent_id><type>integer</type><length>2147483647</length><name>parent_id</name></parent_id></columns><relations><ResourceAlias><refClass>Assignment</refClass><class>Resource</class><local>task_id</local><foreign>resource_id</foreign><type>many</type></ResourceAlias><Subtask><class>Task</class><local>id</local><foreign>parent_id</foreign><type>many</type></Subtask><Assignment><local>id</local><foreign>task_id</foreign><type>many</type></Assignment></relations></Task><Description><tableName>description</tableName><className>Description</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><description><type>string</type><length>3000</length><name>description</name></description><file_md5><type>string</type><length>32</length><name>file_md5</name></file_md5></columns></Description><Email><tableName>email</tableName><className>Email</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><address><email>1</email><unique>1</unique><type>string</type><length>150</length><name>address</name></address></columns></Email><User><tableName>entity</tableName><className>User</className><columns><id><autoincrement>1</autoincrement><primary>1</primary><type>integer</type><length>20</length><name>id</name></id><name><type>string</type><length>50</length><name>name</name></name><loginname><unique>1</unique><type>string</type><length>20</length><name>loginname</name></loginname><password><type>string</type><length>16</length><name>password</name></password><type><type>integer</type><length>1</length><name>type</name></type><created><type>integer</type><length>11</length><name>created</name></created><updated><type>integer</type><length>11</length><name>updated</name></updated><email_id><type>integer</type><length>2147483647</length><name>email_id</name></email_id></columns><relations><Email><local>email_id</local><foreign>id</foreign><type>one</type></Email><Phonenumber><local>id</local><foreign>entity_id</foreign><type>many</type></Phonenumber><Account><local>id</local><foreign>entity_id</foreign><type>one</type></Account><Entity><refClass>EntityReference</refClass><local>entity1</local><foreign>entity2</foreign><type>many</type></Entity><Address><refClass>EntityAddress</refClass><local>user_id</local><foreign>address_id</foreign><type>many</type></Address><Addresses><refClass>EntityAddress</refClass><class>Address</class><local>user_id</local><foreign>address_id</foreign><type>many</type></Addresses><Album><local>id</local><foreign>user_id</foreign><type>many</type></Album><Book><local>id</local><foreign>user_id</foreign><type>many</type></Book><Group><refClass>Groupuser</refClass><local>user_id</local><foreign>group_id</foreign><type>many</type></Group><EntityReference><local>id</local><foreign>entity1</foreign><type>many</type></EntityReference><EntityAddress><local>id</local><foreign>user_id</foreign><type>many</type></EntityAddress><Groupuser><local>id</local><foreign>user_id</foreign><type>many</type></Groupuser></relations></User><Assignment><tableName>assignment</tableName><className>Assignment</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><task_id><type>integer</type><length>2147483647</length><name>task_id</name></task_id><resource_id><type>integer</type><length>2147483647</length><name>resource_id</name></resource_id></columns><relations><Task><local>task_id</local><foreign>id</foreign><type>one</type></Task><Resource><local>resource_id</local><foreign>id</foreign><type>one</type></Resource></relations></Assignment><Resource><tableName>resource</tableName><className>Resource</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><name><type>string</type><length>100</length><name>name</name></name></columns><relations><TaskAlias><refClass>Assignment</refClass><class>Task</class><local>resource_id</local><foreign>task_id</foreign><type>many</type></TaskAlias><Type><refClass>ResourceReference</refClass><class>ResourceType</class><local>resource_id</local><foreign>type_id</foreign><type>many</type></Type><Assignment><local>id</local><foreign>resource_id</foreign><type>many</type></Assignment><ResourceReference><local>id</local><foreign>resource_id</foreign><type>many</type></ResourceReference></relations></Resource><EntityReference><tableName>entity_reference</tableName><className>EntityReference</className><columns><entity1><primary>1</primary><type>integer</type><length>2147483647</length><name>entity1</name></entity1><entity2><primary>1</primary><type>integer</type><length>2147483647</length><name>entity2</name></entity2></columns><relations><Entity><local>entity1</local><foreign>id</foreign><type>one</type></Entity><Group><local>entity1</local><foreign>id</foreign><type>one</type></Group><User><local>entity1</local><foreign>id</foreign><type>one</type></User></relations></EntityReference><Element><tableName>element</tableName><className>Element</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><name><type>string</type><length>100</length><name>name</name></name><parent_id><type>integer</type><length>2147483647</length><name>parent_id</name></parent_id></columns><relations><Child><class>Element</class><local>id</local><foreign>parent_id</foreign><type>many</type></Child><Parent><class>Element</class><local>parent_id</local><foreign>id</foreign><type>one</type></Parent></relations></Element><Phonenumber><tableName>phonenumber</tableName><className>Phonenumber</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><phonenumber><type>string</type><length>20</length><name>phonenumber</name></phonenumber><entity_id><type>integer</type><length>2147483647</length><name>entity_id</name></entity_id></columns><relations><Entity><local>entity_id</local><foreign>id</foreign><type>one</type></Entity><Group><local>entity_id</local><foreign>id</foreign><type>one</type></Group><User><local>entity_id</local><foreign>id</foreign><type>one</type></User></relations></Phonenumber><Groupuser><tableName>groupuser</tableName><className>Groupuser</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><added><type>integer</type><length>2147483647</length><name>added</name></added><group_id><type>integer</type><length>2147483647</length><name>group_id</name></group_id><user_id><type>integer</type><length>2147483647</length><name>user_id</name></user_id></columns><relations><Group><local>group_id</local><foreign>id</foreign><type>one</type></Group><User><local>user_id</local><foreign>id</foreign><type>one</type></User></relations></Groupuser><Album><tableName>album</tableName><className>Album</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><user_id><type>integer</type><length>2147483647</length><name>user_id</name></user_id><name><type>string</type><length>20</length><name>name</name></name></columns><relations><Song><local>id</local><foreign>album_id</foreign><type>many</type></Song><User><local>user_id</local><foreign>id</foreign><type>one</type></User></relations></Album><Account><tableName>account</tableName><className>Account</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><entity_id><type>integer</type><length>2147483647</length><name>entity_id</name></entity_id><amount><type>integer</type><length>2147483647</length><name>amount</name></amount></columns></Account></data> <data><Account><tableName>account</tableName><className>Account</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><entity_id><type>integer</type><length>2147483647</length><name>entity_id</name></entity_id><amount><type>integer</type><length>2147483647</length><name>amount</name></amount></columns></Account><Address><tableName>address</tableName><className>Address</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><address><type>string</type><length>200</length><name>address</name></address></columns><relations><User><refClass>EntityAddress</refClass><local>address_id</local><foreign>user_id</foreign><type>many</type></User><EntityAddress><local>id</local><foreign>address_id</foreign><type>many</type></EntityAddress></relations></Address><Album><tableName>album</tableName><className>Album</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><user_id><type>integer</type><length>2147483647</length><name>user_id</name></user_id><name><type>string</type><length>20</length><name>name</name></name></columns><relations><Song><local>id</local><foreign>album_id</foreign><type>many</type></Song><User><local>user_id</local><foreign>id</foreign><type>one</type></User></relations></Album><Assignment><tableName>assignment</tableName><className>Assignment</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><task_id><type>integer</type><length>2147483647</length><name>task_id</name></task_id><resource_id><type>integer</type><length>2147483647</length><name>resource_id</name></resource_id></columns><relations><Resource><local>resource_id</local><foreign>id</foreign><type>one</type></Resource><Task><local>task_id</local><foreign>id</foreign><type>one</type></Task></relations></Assignment><Description><tableName>description</tableName><className>Description</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><description><type>string</type><length>3000</length><name>description</name></description><file_md5><type>string</type><length>32</length><name>file_md5</name></file_md5></columns></Description><Element><tableName>element</tableName><className>Element</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><name><type>string</type><length>100</length><name>name</name></name><parent_id><type>integer</type><length>2147483647</length><name>parent_id</name></parent_id></columns><relations><Child><class>Element</class><local>id</local><foreign>parent_id</foreign><type>many</type></Child><Parent><class>Element</class><local>parent_id</local><foreign>id</foreign><type>one</type></Parent></relations></Element><Email><tableName>email</tableName><className>Email</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><address><email>1</email><unique>1</unique><type>string</type><length>150</length><name>address</name></address></columns></Email><Entity><tableName>entity</tableName><className>Entity</className><columns><id><autoincrement>1</autoincrement><primary>1</primary><type>integer</type><length>20</length><name>id</name></id><name><type>string</type><length>50</length><name>name</name></name><loginname><unique>1</unique><type>string</type><length>20</length><name>loginname</name></loginname><password><type>string</type><length>16</length><name>password</name></password><type><type>integer</type><length>1</length><name>type</name></type><created><type>integer</type><length>11</length><name>created</name></created><updated><type>integer</type><length>11</length><name>updated</name></updated><email_id><type>integer</type><length>2147483647</length><name>email_id</name></email_id></columns><relations><Email><local>email_id</local><foreign>id</foreign><type>one</type></Email><Phonenumber><local>id</local><foreign>entity_id</foreign><type>many</type></Phonenumber><Account><local>id</local><foreign>entity_id</foreign><type>one</type></Account><Entity><refClass>EntityReference</refClass><local>entity1</local><foreign>entity2</foreign><type>many</type></Entity><EntityReference><local>id</local><foreign>entity1</foreign><type>many</type></EntityReference></relations></Entity><EntityAddress><tableName>entity_address</tableName><className>EntityAddress</className><columns><user_id><primary>1</primary><type>integer</type><length>2147483647</length><name>user_id</name></user_id><address_id><primary>1</primary><type>integer</type><length>2147483647</length><name>address_id</name></address_id></columns><relations><Address><local>address_id</local><foreign>id</foreign><type>one</type></Address><User><local>user_id</local><foreign>id</foreign><type>one</type></User></relations></EntityAddress><EntityReference><tableName>entity_reference</tableName><className>EntityReference</className><columns><entity1><primary>1</primary><type>integer</type><length>2147483647</length><name>entity1</name></entity1><entity2><primary>1</primary><type>integer</type><length>2147483647</length><name>entity2</name></entity2></columns><relations><Entity><local>entity1</local><foreign>id</foreign><type>one</type></Entity><Group><local>entity1</local><foreign>id</foreign><type>one</type></Group><User><local>entity1</local><foreign>id</foreign><type>one</type></User></relations></EntityReference><Error><tableName>error</tableName><className>Error</className><columns><message><type>string</type><length>200</length><name>message</name></message><code><type>integer</type><length>11</length><name>code</name></code><file_md5><primary>1</primary><type>string</type><length>32</length><name>file_md5</name></file_md5></columns><relations><Description><local>file_md5</local><foreign>file_md5</foreign><type>one</type></Description></relations></Error><Group><tableName>entity</tableName><className>Group</className><columns><id><autoincrement>1</autoincrement><primary>1</primary><type>integer</type><length>20</length><name>id</name></id><name><type>string</type><length>50</length><name>name</name></name><loginname><unique>1</unique><type>string</type><length>20</length><name>loginname</name></loginname><password><type>string</type><length>16</length><name>password</name></password><type><type>integer</type><length>1</length><name>type</name></type><created><type>integer</type><length>11</length><name>created</name></created><updated><type>integer</type><length>11</length><name>updated</name></updated><email_id><type>integer</type><length>2147483647</length><name>email_id</name></email_id></columns><relations><Email><local>email_id</local><foreign>id</foreign><type>one</type></Email><Phonenumber><local>id</local><foreign>entity_id</foreign><type>many</type></Phonenumber><Account><local>id</local><foreign>entity_id</foreign><type>one</type></Account><Entity><refClass>EntityReference</refClass><local>entity1</local><foreign>entity2</foreign><type>many</type></Entity><User><refClass>Groupuser</refClass><local>group_id</local><foreign>user_id</foreign><type>many</type></User><EntityReference><local>id</local><foreign>entity1</foreign><type>many</type></EntityReference><Groupuser><local>id</local><foreign>group_id</foreign><type>many</type></Groupuser></relations></Group><Groupuser><tableName>groupuser</tableName><className>Groupuser</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><added><type>integer</type><length>2147483647</length><name>added</name></added><group_id><type>integer</type><length>2147483647</length><name>group_id</name></group_id><user_id><type>integer</type><length>2147483647</length><name>user_id</name></user_id></columns><relations><Group><local>group_id</local><foreign>id</foreign><type>one</type></Group><User><local>user_id</local><foreign>id</foreign><type>one</type></User></relations></Groupuser><Phonenumber><tableName>phonenumber</tableName><className>Phonenumber</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><phonenumber><type>string</type><length>20</length><name>phonenumber</name></phonenumber><entity_id><type>integer</type><length>2147483647</length><name>entity_id</name></entity_id></columns><relations><Entity><local>entity_id</local><foreign>id</foreign><type>one</type></Entity><Group><local>entity_id</local><foreign>id</foreign><type>one</type></Group><User><local>entity_id</local><foreign>id</foreign><type>one</type></User></relations></Phonenumber><ResourceReference><tableName>resource_reference</tableName><className>ResourceReference</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><type_id><type>integer</type><length>2147483647</length><name>type_id</name></type_id><resource_id><type>integer</type><length>2147483647</length><name>resource_id</name></resource_id></columns><relations><Resource><local>resource_id</local><foreign>id</foreign><type>one</type></Resource><ResourceType><local>resourcetype_id</local><foreign>id</foreign><type>one</type></ResourceType></relations></ResourceReference><Resource><tableName>resource</tableName><className>Resource</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><name><type>string</type><length>100</length><name>name</name></name></columns><relations><TaskAlias><refClass>Assignment</refClass><class>Task</class><local>resource_id</local><foreign>task_id</foreign><type>many</type></TaskAlias><Type><refClass>ResourceReference</refClass><class>ResourceType</class><local>resource_id</local><foreign>type_id</foreign><type>many</type></Type><Assignment><local>id</local><foreign>resource_id</foreign><type>many</type></Assignment><ResourceReference><local>id</local><foreign>resource_id</foreign><type>many</type></ResourceReference></relations></Resource><ResourceType><tableName>resource_type</tableName><className>ResourceType</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><type><type>string</type><length>100</length><name>type</name></type></columns><relations><ResourceAlias><refClass>ResourceReference</refClass><class>Resource</class><local>resourcetype_id</local><foreign>resource_id</foreign><type>many</type></ResourceAlias><ResourceReference><local>id</local><foreign>resourcetype_id</foreign><type>many</type></ResourceReference></relations></ResourceType><Song><tableName>song</tableName><className>Song</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><album_id><type>integer</type><length>2147483647</length><name>album_id</name></album_id><genre><type>string</type><length>20</length><name>genre</name></genre><title><type>string</type><length>30</length><name>title</name></title></columns><relations><Album><local>album_id</local><foreign>id</foreign><type>one</type></Album></relations></Song><Task><tableName>task</tableName><className>Task</className><columns><id><type>integer</type><length>20</length><autoincrement>1</autoincrement><primary>1</primary><name>id</name></id><name><type>string</type><length>100</length><name>name</name></name><parent_id><type>integer</type><length>2147483647</length><name>parent_id</name></parent_id></columns><relations><ResourceAlias><refClass>Assignment</refClass><class>Resource</class><local>task_id</local><foreign>resource_id</foreign><type>many</type></ResourceAlias><Subtask><class>Task</class><local>id</local><foreign>parent_id</foreign><type>many</type></Subtask><Assignment><local>id</local><foreign>task_id</foreign><type>many</type></Assignment></relations></Task><User><tableName>entity</tableName><className>User</className><columns><id><autoincrement>1</autoincrement><primary>1</primary><type>integer</type><length>20</length><name>id</name></id><name><type>string</type><length>50</length><name>name</name></name><loginname><unique>1</unique><type>string</type><length>20</length><name>loginname</name></loginname><password><type>string</type><length>16</length><name>password</name></password><type><type>integer</type><length>1</length><name>type</name></type><created><type>integer</type><length>11</length><name>created</name></created><updated><type>integer</type><length>11</length><name>updated</name></updated><email_id><type>integer</type><length>2147483647</length><name>email_id</name></email_id></columns><relations><Email><local>email_id</local><foreign>id</foreign><type>one</type></Email><Phonenumber><local>id</local><foreign>entity_id</foreign><type>many</type></Phonenumber><Account><local>id</local><foreign>entity_id</foreign><type>one</type></Account><Entity><refClass>EntityReference</refClass><local>entity1</local><foreign>entity2</foreign><type>many</type></Entity><Address><refClass>EntityAddress</refClass><local>user_id</local><foreign>address_id</foreign><type>many</type></Address><Addresses><refClass>EntityAddress</refClass><class>Address</class><local>user_id</local><foreign>address_id</foreign><type>many</type></Addresses><Album><local>id</local><foreign>user_id</foreign><type>many</type></Album><Book><local>id</local><foreign>user_id</foreign><type>many</type></Book><Group><refClass>Groupuser</refClass><local>user_id</local><foreign>group_id</foreign><type>many</type></Group><EntityReference><local>id</local><foreign>entity1</foreign><type>many</type></EntityReference><EntityAddress><local>id</local><foreign>user_id</foreign><type>many</type></EntityAddress><Groupuser><local>id</local><foreign>user_id</foreign><type>many</type></Groupuser></relations></User></data>
--- ---
Account:
tableName: account
className: Account
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
entity_id:
type: integer
length: 2147483647
name: entity_id
amount:
type: integer
length: 2147483647
name: amount
Address:
tableName: address
className: Address
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
address:
type: string
length: 200
name: address
relations:
User:
refClass: EntityAddress
local: address_id
foreign: user_id
type: many
EntityAddress:
local: id
foreign: address_id
type: many
Album:
tableName: album
className: Album
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
user_id:
type: integer
length: 2147483647
name: user_id
name:
type: string
length: 20
name: name
relations:
Song:
local: id
foreign: album_id
type: many
User:
local: user_id
foreign: id
type: one
Assignment:
tableName: assignment
className: Assignment
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
task_id:
type: integer
length: 2147483647
name: task_id
resource_id:
type: integer
length: 2147483647
name: resource_id
Description:
tableName: description
className: Description
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
description:
type: string
length: 3000
name: description
file_md5:
type: string
length: 32
name: file_md5
Element:
tableName: element
className: Element
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
name:
type: string
length: 100
name: name
parent_id:
type: integer
length: 2147483647
name: parent_id
relations:
Child:
class: Element
local: id
foreign: parent_id
type: many
Parent:
class: Element
local: parent_id
foreign: id
type: one
Email:
tableName: email
className: Email
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
address:
email: true
unique: true
type: string
length: 150
name: address
Entity: Entity:
tableName: entity tableName: entity
className: Entity className: Entity
...@@ -60,30 +210,6 @@ Entity: ...@@ -60,30 +210,6 @@ Entity:
local: id local: id
foreign: entity1 foreign: entity1
type: many type: many
Address:
tableName: address
className: Address
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
address:
type: string
length: 200
name: address
relations:
User:
refClass: EntityAddress
local: address_id
foreign: user_id
type: many
EntityAddress:
local: id
foreign: address_id
type: many
EntityAddress: EntityAddress:
tableName: entity_address tableName: entity_address
className: EntityAddress className: EntityAddress
...@@ -103,31 +229,47 @@ EntityAddress: ...@@ -103,31 +229,47 @@ EntityAddress:
local: address_id local: address_id
foreign: id foreign: id
type: one type: one
ResourceType: EntityReference:
tableName: resource_type tableName: entity_reference
className: ResourceType className: EntityReference
columns: columns:
id: entity1:
primary: true
type: integer type: integer
length: 20 length: 2147483647
autoincrement: true name: entity1
entity2:
primary: true primary: true
name: id type: integer
type: length: 2147483647
name: entity2
relations:
Entity:
local: entity1
foreign: id
type: one
Error:
tableName: error
className: Error
columns:
message:
type: string type: string
length: 100 length: 200
name: type name: message
code:
type: integer
length: 11
name: code
file_md5:
primary: true
type: string
length: 32
name: file_md5
relations: relations:
ResourceAlias: Description:
refClass: ResourceReference local: file_md5
class: Resource foreign: file_md5
local: resourcetype_id type: one
foreign: resource_id
type: many
ResourceReference:
local: id
foreign: resourcetype_id
type: many
Group: Group:
tableName: entity tableName: entity
className: Group className: Group
...@@ -198,29 +340,69 @@ Group: ...@@ -198,29 +340,69 @@ Group:
local: id local: id
foreign: group_id foreign: group_id
type: many type: many
Error: Groupuser:
tableName: error tableName: groupuser
className: Error className: Groupuser
columns: columns:
message: id:
type: string
length: 200
name: message
code:
type: integer type: integer
length: 11 length: 20
name: code autoincrement: true
file_md5:
primary: true primary: true
type: string name: id
length: 32 added:
name: file_md5 type: integer
relations: length: 2147483647
Description: name: added
local: file_md5 group_id:
foreign: file_md5 type: integer
type: one length: 2147483647
ResourceReference: name: group_id
user_id:
type: integer
length: 2147483647
name: user_id
relations:
Group:
local: group_id
foreign: id
type: one
User:
local: user_id
foreign: id
type: one
Phonenumber:
tableName: phonenumber
className: Phonenumber
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
phonenumber:
type: string
length: 20
name: phonenumber
entity_id:
type: integer
length: 2147483647
name: entity_id
relations:
Entity:
local: entity_id
foreign: id
type: one
Group:
local: entity_id
foreign: id
type: one
User:
local: entity_id
foreign: id
type: one
ResourceReference:
tableName: resource_reference tableName: resource_reference
className: ResourceReference className: ResourceReference
columns: columns:
...@@ -238,11 +420,66 @@ ResourceReference: ...@@ -238,11 +420,66 @@ ResourceReference:
type: integer type: integer
length: 2147483647 length: 2147483647
name: resource_id name: resource_id
Resource:
tableName: resource
className: Resource
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
name:
type: string
length: 100
name: name
relations:
TaskAlias:
refClass: Assignment
class: Task
local: resource_id
foreign: task_id
type: many
Type:
refClass: ResourceReference
class: ResourceType
local: resource_id
foreign: type_id
type: many
Assignment:
local: id
foreign: resource_id
type: many
ResourceReference:
local: id
foreign: resource_id
type: many
ResourceType:
tableName: resource_type
className: ResourceType
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
type:
type: string
length: 100
name: type
relations: relations:
ResourceType: ResourceAlias:
refClass: ResourceReference
class: Resource
local: resourcetype_id local: resourcetype_id
foreign: id foreign: resource_id
type: one type: many
ResourceReference:
local: id
foreign: resourcetype_id
type: many
Song: Song:
tableName: song tableName: song
className: Song className: Song
...@@ -304,40 +541,6 @@ Task: ...@@ -304,40 +541,6 @@ Task:
local: id local: id
foreign: task_id foreign: task_id
type: many type: many
Description:
tableName: description
className: Description
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
description:
type: string
length: 3000
name: description
file_md5:
type: string
length: 32
name: file_md5
Email:
tableName: email
className: Email
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
address:
email: true
unique: true
type: string
length: 150
name: address
User: User:
tableName: entity tableName: entity
className: User className: User
...@@ -431,224 +634,3 @@ User: ...@@ -431,224 +634,3 @@ User:
local: id local: id
foreign: user_id foreign: user_id
type: many type: many
Assignment:
tableName: assignment
className: Assignment
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
task_id:
type: integer
length: 2147483647
name: task_id
resource_id:
type: integer
length: 2147483647
name: resource_id
relations:
Task:
local: task_id
foreign: id
type: one
Resource:
tableName: resource
className: Resource
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
name:
type: string
length: 100
name: name
relations:
TaskAlias:
refClass: Assignment
class: Task
local: resource_id
foreign: task_id
type: many
Type:
refClass: ResourceReference
class: ResourceType
local: resource_id
foreign: type_id
type: many
Assignment:
local: id
foreign: resource_id
type: many
ResourceReference:
local: id
foreign: resource_id
type: many
EntityReference:
tableName: entity_reference
className: EntityReference
columns:
entity1:
primary: true
type: integer
length: 2147483647
name: entity1
entity2:
primary: true
type: integer
length: 2147483647
name: entity2
relations:
Entity:
local: entity1
foreign: id
type: one
Group:
local: entity1
foreign: id
type: one
User:
local: entity1
foreign: id
type: one
Element:
tableName: element
className: Element
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
name:
type: string
length: 100
name: name
parent_id:
type: integer
length: 2147483647
name: parent_id
relations:
Child:
class: Element
local: id
foreign: parent_id
type: many
Parent:
class: Element
local: parent_id
foreign: id
type: one
Phonenumber:
tableName: phonenumber
className: Phonenumber
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
phonenumber:
type: string
length: 20
name: phonenumber
entity_id:
type: integer
length: 2147483647
name: entity_id
relations:
Entity:
local: entity_id
foreign: id
type: one
Group:
local: entity_id
foreign: id
type: one
User:
local: entity_id
foreign: id
type: one
Groupuser:
tableName: groupuser
className: Groupuser
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
added:
type: integer
length: 2147483647
name: added
group_id:
type: integer
length: 2147483647
name: group_id
user_id:
type: integer
length: 2147483647
name: user_id
relations:
Group:
local: group_id
foreign: id
type: one
User:
local: user_id
foreign: id
type: one
Album:
tableName: album
className: Album
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
user_id:
type: integer
length: 2147483647
name: user_id
name:
type: string
length: 20
name: name
relations:
Song:
local: id
foreign: album_id
type: many
User:
local: user_id
foreign: id
type: one
Account:
tableName: account
className: Account
columns:
id:
type: integer
length: 20
autoincrement: true
primary: true
name: id
entity_id:
type: integer
length: 2147483647
name: entity_id
amount:
type: integer
length: 2147483647
name: amount
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment