1
0
mirror of synced 2024-12-13 14:56:01 +03:00
doctrine2/models/BooleanTest.php

8 lines
260 B
PHP
Raw Normal View History

<?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));
}
}