diff --git a/core/trunk/structure.sql b/core/trunk/structure.sql
index 761a3638e35a806692d107dae80723c3e7c0489d..8a90a288c33e14e41e2ed3e44c3bf643a5a1980e 100644
--- a/core/trunk/structure.sql
+++ b/core/trunk/structure.sql
@@ -1363,6 +1363,7 @@ CREATE TABLE templates
   template_path character varying(255),
   template_file_name character varying(255),
   template_style character varying(255),
+  template_datasource character varying(32),
   CONSTRAINT templates_pkey PRIMARY KEY (template_id)
 )
 WITH (OIDS=FALSE);