src/Query/Dialects/Firebird/CreateTable.php 1 location
|
@@ 106-111 (lines=6) @@
|
103 |
|
} |
104 |
|
|
105 |
|
} |
106 |
|
else if($defaultType === 'CURRENT_TIMESTAMP'){ |
107 |
|
$field[] = 'DEFAULT CURRENT_TIMESTAMP'; |
108 |
|
} |
109 |
|
else if($defaultType === 'NULL' && $isNull){ |
110 |
|
$field[] = 'DEFAULT NULL'; |
111 |
|
} |
112 |
|
|
113 |
|
if($constraint){ |
114 |
|
$field[] = strtoupper($constraint); |
src/Query/Dialects/MySQL/CreateTable.php 1 location
|
@@ 117-122 (lines=6) @@
|
114 |
|
} |
115 |
|
|
116 |
|
} |
117 |
|
else if($defaultType === 'CURRENT_TIMESTAMP'){ |
118 |
|
$field[] = 'DEFAULT CURRENT_TIMESTAMP'; |
119 |
|
} |
120 |
|
else if($defaultType === 'NULL' && $isNull){ |
121 |
|
$field[] = 'DEFAULT NULL'; |
122 |
|
} |
123 |
|
|
124 |
|
|
125 |
|
if($extra){ |