Index: lams_tool_gmap/conf/hibernate/mappings/org/lamsfoundation/lams/tool/gmap/model/GmapConfigItem.hbm.xml =================================================================== RCS file: /usr/local/cvsroot/lams_tool_gmap/conf/hibernate/mappings/org/lamsfoundation/lams/tool/gmap/model/Attic/GmapConfigItem.hbm.xml,v diff -u --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ lams_tool_gmap/conf/hibernate/mappings/org/lamsfoundation/lams/tool/gmap/model/GmapConfigItem.hbm.xml 18 Sep 2008 01:42:22 -0000 1.1 @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + + + Index: lams_tool_gmap/db/sql/create_lams_tool_gmap.sql =================================================================== RCS file: /usr/local/cvsroot/lams_tool_gmap/db/sql/create_lams_tool_gmap.sql,v diff -u -r1.9 -r1.10 --- lams_tool_gmap/db/sql/create_lams_tool_gmap.sql 23 Jul 2008 04:15:10 -0000 1.9 +++ lams_tool_gmap/db/sql/create_lams_tool_gmap.sql 18 Sep 2008 01:41:44 -0000 1.10 @@ -6,11 +6,13 @@ drop table if exists tl_lagmap10_marker; drop table if exists tl_lagmap10_session; drop table if exists tl_lagmap10_user; +drop table if exists tl_lagmap10_configuration; create table tl_lagmap10_attachment (uid bigint not null auto_increment, file_version_id bigint, file_type varchar(255), file_name varchar(255), file_uuid bigint, create_date datetime, gmap_uid bigint, primary key (uid))TYPE=InnoDB; create table tl_lagmap10_gmap (uid bigint not null auto_increment, create_date datetime, update_date datetime, create_by bigint, title varchar(255), instructions text, run_offline bit, lock_on_finished bit, online_instructions text, offline_instructions text, content_in_use bit, define_later bit, tool_content_id bigint, allow_edit_markers bit, show_all_markers bit, limit_markers bit, max_markers integer, allow_zoom bit, allow_terrain bit, allow_satellite bit, allow_hybrid bit, map_center_latitude double precision, map_center_longitude double precision, map_zoom integer, map_type varchar(20), reflect_on_activity bit, reflect_instructions text, default_geocoder_address varchar(255), primary key (uid))TYPE=InnoDB; create table tl_lagmap10_marker (uid bigint not null auto_increment, longitude double precision, latitude double precision, info_window_message text, create_date datetime, update_date datetime, is_authored bit, gmap_uid bigint, title varchar(55), created_by bigint, updated_by bigint, gmap_session_uid bigint, primary key (uid))TYPE=InnoDB; create table tl_lagmap10_session (uid bigint not null auto_increment, session_end_date datetime, session_start_date datetime, status integer, session_id bigint, session_name varchar(250), gmap_uid bigint, primary key (uid))TYPE=InnoDB; create table tl_lagmap10_user (uid bigint not null auto_increment, user_id bigint, last_name varchar(255), login_name varchar(255), first_name varchar(255), finishedActivity bit, gmap_session_uid bigint, primary key (uid))TYPE=InnoDB; +create table tl_lagmap10_configuration (uid bigint not null auto_increment, config_key varchar(30) unique, config_value varchar(255), primary key (uid))TYPE=InnoDB; alter table tl_lagmap10_attachment add index FKBA2ECCB274028C80 (gmap_uid), add constraint FKBA2ECCB274028C80 foreign key (gmap_uid) references tl_lagmap10_gmap (uid); alter table tl_lagmap10_marker add index FK10F2274974028C80 (gmap_uid), add constraint FK10F2274974028C80 foreign key (gmap_uid) references tl_lagmap10_gmap (uid); alter table tl_lagmap10_marker add index FK10F22749C5F056D9 (gmap_session_uid), add constraint FK10F22749C5F056D9 foreign key (gmap_session_uid) references tl_lagmap10_session (uid); @@ -19,6 +21,16 @@ alter table tl_lagmap10_session add index FK519D516774028C80 (gmap_uid), add constraint FK519D516774028C80 foreign key (gmap_uid) references tl_lagmap10_gmap (uid); alter table tl_lagmap10_user add index FK7CB3F69AC5F056D9 (gmap_session_uid), add constraint FK7CB3F69AC5F056D9 foreign key (gmap_session_uid) references tl_lagmap10_session (uid); +INSERT INTO tl_lagmap10_configuration ( + config_key, + config_value +) +VALUES( + "GmapKey", + "ABQIAAAAvPAE96y1iioFQOnrP1RCBxQ3ZLSPwrKlL-Fn7FdXNTuNedFYMRT30phEMjEwUhQPccHtJ9JNU1mknQ" +); + + INSERT INTO tl_lagmap10_gmap ( title, instructions, Index: lams_tool_gmap/db/sql/table-schema.sql =================================================================== RCS file: /usr/local/cvsroot/lams_tool_gmap/db/sql/table-schema.sql,v diff -u -r1.8 -r1.9 --- lams_tool_gmap/db/sql/table-schema.sql 23 Jul 2008 04:15:10 -0000 1.8 +++ lams_tool_gmap/db/sql/table-schema.sql 18 Sep 2008 01:41:44 -0000 1.9 @@ -6,11 +6,13 @@ alter table tl_lagmap10_session drop foreign key FK519D516774028C80; alter table tl_lagmap10_user drop foreign key FK7CB3F69AC5F056D9; drop table if exists tl_lagmap10_attachment; +drop table if exists tl_lagmap10_configuration; drop table if exists tl_lagmap10_gmap; drop table if exists tl_lagmap10_marker; drop table if exists tl_lagmap10_session; drop table if exists tl_lagmap10_user; create table tl_lagmap10_attachment (uid bigint not null auto_increment, file_version_id bigint, file_type varchar(255), file_name varchar(255), file_uuid bigint, create_date datetime, gmap_uid bigint, primary key (uid)); +create table tl_lagmap10_configuration (uid bigint not null auto_increment, config_key varchar(30) unique, config_value varchar(255), primary key (uid)); create table tl_lagmap10_gmap (uid bigint not null auto_increment, create_date datetime, update_date datetime, create_by bigint, title varchar(255), instructions text, run_offline bit, lock_on_finished bit, online_instructions text, offline_instructions text, content_in_use bit, define_later bit, tool_content_id bigint, allow_edit_markers bit, show_all_markers bit, limit_markers bit, max_markers integer, allow_zoom bit, allow_terrain bit, allow_satellite bit, allow_hybrid bit, map_center_latitude double precision, map_center_longitude double precision, map_zoom integer, map_type varchar(20), reflect_on_activity bit, reflect_instructions text, default_geocoder_address varchar(255), primary key (uid)); create table tl_lagmap10_marker (uid bigint not null auto_increment, longitude double precision, latitude double precision, info_window_message text, create_date datetime, update_date datetime, is_authored bit, gmap_uid bigint, title varchar(55), created_by bigint, updated_by bigint, gmap_session_uid bigint, primary key (uid)); create table tl_lagmap10_session (uid bigint not null auto_increment, session_end_date datetime, session_start_date datetime, status integer, session_id bigint, session_name varchar(250), gmap_uid bigint, primary key (uid)); Index: lams_tool_gmap/db/sql/tool_insert.sql =================================================================== RCS file: /usr/local/cvsroot/lams_tool_gmap/db/sql/tool_insert.sql,v diff -u -r1.1 -r1.2 --- lams_tool_gmap/db/sql/tool_insert.sql 23 May 2008 06:29:11 -0000 1.1 +++ lams_tool_gmap/db/sql/tool_insert.sql 18 Sep 2008 01:41:44 -0000 1.2 @@ -28,7 +28,8 @@ classpath_addition, context_file, create_date_time, -modified_date_time +modified_date_time, +admin_url ) VALUES ( @@ -58,5 +59,6 @@ 'lams-tool-lagmap10.jar', '/org/lamsfoundation/lams/tool/gmap/gmapApplicationContext.xml', NOW(), -NOW() +NOW(), +'tool/lagmap10/lagmap10admin.do' ) Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_tool_gmap/db/sql/updatescripts/updateTo20070227.sql'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 1.2 refers to a dead (removed) revision in file `lams_tool_gmap/db/sql/updatescripts/updateTo20080229.sql'. Fisheye: No comparison available. Pass `N' to diff?