1
0
Fork 0
mirror of synced 2025-04-03 05:13:37 +03:00
doctrine2/models/NotNullTest.php

7 lines
257 B
PHP

<?php
class NotNullTest extends Doctrine_Record {
public static function initMetadata($class) {
$class->setColumn('name', 'string', 100, 'notnull');
$class->setColumn('type', 'integer', 11);
}
}