Index: lams_tool_gmap/db/sql/table-schema.sql =================================================================== diff -u -r3813117828096a5d4063e220506bbc6357be2683 -r1a587674fef832ce66f7b8b2d1301bec346bdfae --- lams_tool_gmap/db/sql/table-schema.sql (.../table-schema.sql) (revision 3813117828096a5d4063e220506bbc6357be2683) +++ lams_tool_gmap/db/sql/table-schema.sql (.../table-schema.sql) (revision 1a587674fef832ce66f7b8b2d1301bec346bdfae) @@ -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));