We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8ecb1d commit b4f11a9Copy full SHA for b4f11a9
src/Illuminate/Database/Eloquent/Concerns/HasTimestamps.php
@@ -161,7 +161,9 @@ public function getUpdatedAtColumn()
161
*/
162
public function getQualifiedCreatedAtColumn()
163
{
164
- return $this->qualifyColumn($this->getCreatedAtColumn());
+ $column = $this->getCreatedAtColumn();
165
+
166
+ return $column ? $this->qualifyColumn($column) : null;
167
}
168
169
/**
@@ -171,7 +173,9 @@ public function getQualifiedCreatedAtColumn()
171
173
172
174
public function getQualifiedUpdatedAtColumn()
175
- return $this->qualifyColumn($this->getUpdatedAtColumn());
176
+ $column = $this->getUpdatedAtColumn();
177
178
179
180
181
0 commit comments