1
0
mirror of synced 2024-12-15 15:46:02 +03:00
doctrine2/tests_old/models/ValidatorTest_FootballPlayer.php

9 lines
288 B
PHP
Raw Normal View History

<?php
class ValidatorTest_FootballPlayer extends Doctrine_Record {
public static function initMetadata($class) {
$class->setColumn('person_id', 'string', 255);
$class->setColumn('team_name', 'string', 255);
$class->setColumn('goals_count', 'integer', 4);
}
}