src/Query/Dialects/Firebird/CreateTable.php 1 location
|
@@ 146-151 (lines=6) @@
|
143 |
|
} |
144 |
|
|
145 |
|
} |
146 |
|
else if($defaultType === 'CURRENT_TIMESTAMP'){ |
147 |
|
$field[] = 'DEFAULT CURRENT_TIMESTAMP'; |
148 |
|
} |
149 |
|
else if($defaultType === 'NULL' && $isNull === true){ |
150 |
|
$field[] = 'DEFAULT NULL'; |
151 |
|
} |
152 |
|
|
153 |
|
if($constraint){ |
154 |
|
$field[] = $constraint; |
src/Query/Dialects/Postgres/CreateTable.php 1 location
|
@@ 146-151 (lines=6) @@
|
143 |
|
} |
144 |
|
|
145 |
|
} |
146 |
|
else if($defaultType === 'CURRENT_TIMESTAMP'){ |
147 |
|
$field[] = 'DEFAULT CURRENT_TIMESTAMP'; |
148 |
|
} |
149 |
|
else if($defaultType === 'NULL' && $isNull === true){ |
150 |
|
$field[] = 'DEFAULT NULL'; |
151 |
|
} |
152 |
|
|
153 |
|
|
154 |
|
if($extra){ |
src/Query/Dialects/MySQL/CreateTable.php 1 location
|
@@ 144-149 (lines=6) @@
|
141 |
|
} |
142 |
|
|
143 |
|
} |
144 |
|
else if($defaultType === 'CURRENT_TIMESTAMP'){ |
145 |
|
$field[] = 'DEFAULT CURRENT_TIMESTAMP'; |
146 |
|
} |
147 |
|
else if($defaultType === 'NULL' && $isNull === true){ |
148 |
|
$field[] = 'DEFAULT NULL'; |
149 |
|
} |
150 |
|
|
151 |
|
|
152 |
|
if($extra){ |