/** * Check if the given model talbe has the given column. * * @param \Illuminate\Contracts\Auth\Authenticatable $user * @param string $column * @return bool */ protected function hasColumn(AuthenticatableContract $user, $column) { return $this->schema->hasColumn($user->getTable(), $column); }