1
0
mirror of synced 2024-12-15 07:36:03 +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));
}
}