| <?php |
| return array ( |
| 0 => |
| array ( |
| 'PO_addresses' => |
| ezcDbSchemaTable::__set_state(array( |
| 'fields' => |
| array ( |
| 'city' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'text', |
| 'length' => 100, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| 'id' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'integer', |
| 'length' => 0, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => true, |
| 'unsigned' => false, |
| )), |
| 'street' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'text', |
| 'length' => 100, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| 'type' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'text', |
| 'length' => 10, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| 'zip' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'text', |
| 'length' => 5, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| ), |
| 'indexes' => |
| array ( |
| 'primary' => |
| ezcDbSchemaIndex::__set_state(array( |
| 'indexFields' => |
| array ( |
| 'id' => |
| ezcDbSchemaIndexField::__set_state(array( |
| 'sorting' => NULL, |
| )), |
| ), |
| 'primary' => true, |
| 'unique' => true, |
| )), |
| ), |
| )), |
| 'PO_birthdays' => |
| ezcDbSchemaTable::__set_state(array( |
| 'fields' => |
| array ( |
| 'birthday' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'integer', |
| 'length' => 0, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| 'person_id' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'integer', |
| 'length' => 0, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| ), |
| 'indexes' => |
| array ( |
| 'primary' => |
| ezcDbSchemaIndex::__set_state(array( |
| 'indexFields' => |
| array ( |
| 'person_id' => |
| ezcDbSchemaIndexField::__set_state(array( |
| 'sorting' => NULL, |
| )), |
| ), |
| 'primary' => true, |
| 'unique' => true, |
| )), |
| ), |
| )), |
| 'PO_employers' => |
| ezcDbSchemaTable::__set_state(array( |
| 'fields' => |
| array ( |
| 'id' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'integer', |
| 'length' => 0, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => true, |
| 'unsigned' => false, |
| )), |
| 'name' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'text', |
| 'length' => 100, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| ), |
| 'indexes' => |
| array ( |
| 'primary' => |
| ezcDbSchemaIndex::__set_state(array( |
| 'indexFields' => |
| array ( |
| 'id' => |
| ezcDbSchemaIndexField::__set_state(array( |
| 'sorting' => NULL, |
| )), |
| ), |
| 'primary' => true, |
| 'unique' => true, |
| )), |
| ), |
| )), |
| 'PO_friends' => |
| ezcDbSchemaTable::__set_state(array( |
| 'fields' => |
| array ( |
| 'friend_id' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'integer', |
| 'length' => 0, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| 'id' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'integer', |
| 'length' => 0, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| ), |
| 'indexes' => |
| array ( |
| 'primary' => |
| ezcDbSchemaIndex::__set_state(array( |
| 'indexFields' => |
| array ( |
| 'friend_id' => |
| ezcDbSchemaIndexField::__set_state(array( |
| 'sorting' => NULL, |
| )), |
| 'id' => |
| ezcDbSchemaIndexField::__set_state(array( |
| 'sorting' => NULL, |
| )), |
| ), |
| 'primary' => true, |
| 'unique' => true, |
| )), |
| ), |
| )), |
| 'PO_persons' => |
| ezcDbSchemaTable::__set_state(array( |
| 'fields' => |
| array ( |
| 'employer' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'integer', |
| 'length' => 0, |
| 'notNull' => false, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| 'firstname' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'text', |
| 'length' => 100, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| 'id' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'integer', |
| 'length' => 0, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => true, |
| 'unsigned' => false, |
| )), |
| 'surname' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'text', |
| 'length' => 100, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| ), |
| 'indexes' => |
| array ( |
| 'primary' => |
| ezcDbSchemaIndex::__set_state(array( |
| 'indexFields' => |
| array ( |
| 'id' => |
| ezcDbSchemaIndexField::__set_state(array( |
| 'sorting' => NULL, |
| )), |
| ), |
| 'primary' => true, |
| 'unique' => true, |
| )), |
| ), |
| )), |
| 'PO_persons_addresses' => |
| ezcDbSchemaTable::__set_state(array( |
| 'fields' => |
| array ( |
| 'address_id' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'integer', |
| 'length' => 0, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| 'person_id' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'integer', |
| 'length' => 0, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| ), |
| 'indexes' => |
| array ( |
| 'primary' => |
| ezcDbSchemaIndex::__set_state(array( |
| 'indexFields' => |
| array ( |
| 'address_id' => |
| ezcDbSchemaIndexField::__set_state(array( |
| 'sorting' => NULL, |
| )), |
| 'person_id' => |
| ezcDbSchemaIndexField::__set_state(array( |
| 'sorting' => NULL, |
| )), |
| ), |
| 'primary' => true, |
| 'unique' => true, |
| )), |
| ), |
| )), |
| 'PO_secondpersons_addresses' => |
| ezcDbSchemaTable::__set_state(array( |
| 'fields' => |
| array ( |
| 'address_id' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'integer', |
| 'length' => 0, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| 'person_firstname' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'text', |
| 'length' => 100, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| 'person_surname' => |
| ezcDbSchemaField::__set_state(array( |
| 'type' => 'text', |
| 'length' => 100, |
| 'notNull' => true, |
| 'default' => NULL, |
| 'autoIncrement' => false, |
| 'unsigned' => false, |
| )), |
| ), |
| 'indexes' => |
| array ( |
| 'primary' => |
| ezcDbSchemaIndex::__set_state(array( |
| 'indexFields' => |
| array ( |
| 'address_id' => |
| ezcDbSchemaIndexField::__set_state(array( |
| 'sorting' => NULL, |
| )), |
| 'person_firstname' => |
| ezcDbSchemaIndexField::__set_state(array( |
| 'sorting' => NULL, |
| )), |
| 'person_surname' => |
| ezcDbSchemaIndexField::__set_state(array( |
| 'sorting' => NULL, |
| )), |
| ), |
| 'primary' => true, |
| 'unique' => true, |
| )), |
| ), |
| )), |
| ), |
| 1 => |
| array ( |
| ), |
| ); ?> |