1
0
mirror of synced 2025-03-09 14:26:13 +03:00

8 lines
269 B
PHP
Raw Normal View History

<?php
class BooleanTest extends Doctrine_Record {
public static function initMetadata($class) {
$class->setColumn('is_working', 'boolean');
$class->setColumn('is_working_notnull', 'boolean', 1, array('default' => false, 'notnull' => true));
}
}