When synchronizing an offline Spatialite file with it's corresponding PostGIS database, using the
Offline Editing plugin in QGIS, I received an error I hadn't experienced before
The error message is quite clear, I had entered more than 254 characters in a attribute field that in the PostGIS table had this field length.
In the original PostGIS database table they are defined
Even if the Spatialite attribute that is too long is corrected, the synchronising of the offline Spatialite file now gives a commit error, which means all the changes made offline will now not synchronise.
Is it possible to bring across the attribute field lengths from the PostGIS table to the Spatialite file so as to not allow attributes that are too long to be entered in the first instance?