1
0
Fork 0
mirror of synced 2025-03-28 19:03:50 +03:00
doctrine2/models/BooleanTest.php

7 lines
260 B
PHP

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