Active
Project:
Geonames CCK
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
30 Sep 2008 at 14:51 UTC
Updated:
5 May 2020 at 08:33 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
the greenman commentedSorry for the delay in response. Have been on holiday.
Yeah. This is irritating. To be honest, I have not yet found the correct way to add new fields to a cck table when I let CCK create the tables for me. Will work on it.
Comment #2
Anonymous (not verified) commentedNo problem. Manually adding the columns worked for me and I only had one geonames_cck field.
I'll have a look at the cck update process to see if I can find a way to do this.
Comment #3
Anonymous (not verified) commentedOk. I took some time to dig in to this. I couldn't find a clean cck way to do this, so I decided to write my own update function. As is applies to Geonames 5.x-1.* and it's the first update, I named it geonames_cck_update_5100.
I tested it for both cck field storage types (CONTENT_DB_STORAGE_PER_FIELD and CONTENT_DB_STORAGE_PER_CONTENT_TYPE) and it works fine on MySql. I didn't test it on pgsql.
I attached the geonames_cck.install file I created.
Gertjan