pluf2

pluf2 Commit Details


Date:2008-11-05 14:58:01 (16 years 1 month ago)
Author:Loic d'Anterroches
Branch:master
Commit:08f59e962277b712f4624b23230f2f8d8da1d8e2
Parents: 76f4811b32f569205a023e1a8454704ec82f7501
Message:Added the not null statement by default in the table creation.

Changes:

File differences

src/Pluf/DB/Schema/MySQL.php
112112
113113
114114
115
116
117
115118
116119
117120
$_tmp = sprintf($this->mappings['float'], $val['max_digits'], $val['decimal_places']);
}
$sql .= $_tmp;
if (empty($val['is_null'])) {
$sql .= ' NOT NULL';
}
if (isset($val['default'])) {
$sql .= ' default ';
$sql .= $model->_toDb($val['default'], $col);

Archive Download the corresponding diff file

Branches

Number of commits:
Page rendered in 0.05495s using 13 queries.