src/Query/Dialects/Firebird/CreateTable.php 1 location
|
@@ 129-134 (lines=6) @@
|
126 |
|
} |
127 |
|
|
128 |
|
} |
129 |
|
else if($defaultType === 'CURRENT_TIMESTAMP'){ |
130 |
|
$field[] = 'DEFAULT CURRENT_TIMESTAMP'; |
131 |
|
} |
132 |
|
else if($defaultType === 'NULL' && $isNull === true){ |
133 |
|
$field[] = 'DEFAULT NULL'; |
134 |
|
} |
135 |
|
|
136 |
|
if($constraint){ |
137 |
|
$field[] = $constraint; |
src/Query/Dialects/MySQL/CreateTable.php 1 location
|
@@ 119-124 (lines=6) @@
|
116 |
|
} |
117 |
|
|
118 |
|
} |
119 |
|
else if($defaultType === 'CURRENT_TIMESTAMP'){ |
120 |
|
$field[] = 'DEFAULT CURRENT_TIMESTAMP'; |
121 |
|
} |
122 |
|
else if($defaultType === 'NULL' && $isNull === true){ |
123 |
|
$field[] = 'DEFAULT NULL'; |
124 |
|
} |
125 |
|
|
126 |
|
|
127 |
|
if($extra){ |
src/Query/Dialects/Postgres/CreateTable.php 1 location
|
@@ 129-134 (lines=6) @@
|
126 |
|
} |
127 |
|
|
128 |
|
} |
129 |
|
else if($defaultType === 'CURRENT_TIMESTAMP'){ |
130 |
|
$field[] = 'DEFAULT CURRENT_TIMESTAMP'; |
131 |
|
} |
132 |
|
else if($defaultType === 'NULL' && $isNull === true){ |
133 |
|
$field[] = 'DEFAULT NULL'; |
134 |
|
} |
135 |
|
|
136 |
|
|
137 |
|
if($extra){ |