JJsGeonamesBundle icon indicating copy to clipboard operation
JJsGeonamesBundle copied to clipboard

Longitude cannot be null

Open arkmuay opened this issue 9 years ago • 2 comments

Hi,

When I import countries I have some issues like this :

[PDOException]
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'longitude' cannot be null

While it could be...

arkmuay avatar May 23 '15 16:05 arkmuay

I think I can use migrations to change or overload it ?...

arkmuay avatar May 23 '15 17:05 arkmuay

And migrations seems to doen't work because of simple quote : // Unique Keys $table->addUniqueIndex(['geoname_id'], 'UK_Geo{$locality}_geoname');

fails : [Doctrine\DBAL\Schema\SchemaException]
Invalid index-name UK_Geo{$locality}geoname given, has to be [a-zA-Z0-9]

arkmuay avatar May 23 '15 18:05 arkmuay