[Cubicweb] [postgis] Enable Postgis extension the right way

Sylvain Thénault sylvain.thenault at logilab.fr
Wed Jun 24 07:55:05 CEST 2015


On 23 juin 13:31, Yann Vote wrote:
> So back to the discussion, I acknowledge that .py files may not be the best
> way to execute SQL commands. .sql scripts would provide same feature, would
> better interact with other tools such as salt, at the (little) cost of
> having more files to maintain in migration folder.

I still think we should go the way of generalizing python scripts like pre/post
create to replace execution of plain .sql files using name convention to
execute them or not depending on the backend than the other way around.

-- 
Sylvain Thénault, LOGILAB, Paris (01.45.32.03.12) - Toulouse (05.62.17.16.42)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org



More information about the Cubicweb mailing list