[ckan-dev] Creating tables for plugin models

Alice Heaton a.heaton at nhm.ac.uk
Fri Jun 20 12:00:01 UTC 2014


On 19/06/14 11:50, Sean Hammond wrote:
> If you look at, I think, ckanext-harvest or ckanext-spatial, I can't
> remember exactly how it works but they have some code in there that
> creates their database tables if they don't already exist.

Indeed, both of these plugins create the tables (if they don't exist) 
during the call to `IConfigurable.configure`. I guess I will do the same!

Thanks for the pointer,
Alice



More information about the ckan-dev mailing list