From f4942d037a7101b5b4699d59c8d9c220517a7f38 Mon Sep 17 00:00:00 2001 From: Michael Douchin Date: Thu, 27 May 2021 11:27:30 +0200 Subject: [PATCH] Docs - Update SchemaSpy database documentation --- docs/database/columns.html | 530 +++++++++--------- docs/database/gis.lizsync.xml | 393 +++++++++---- docs/database/index.html | 16 +- docs/database/info-html.txt | 4 +- docs/database/routines.html | 61 +- docs/database/routines/audit_table.html | 20 - docs/database/routines/audit_view.html | 22 +- .../routines/insert_history_item.html | 216 +++++++ .../replay_central_logs_to_clone.html | 2 +- .../replay_clone_logs_to_central.html | 2 +- ...tral_logs_add_clone_action_timestamps.html | 186 ++++++ .../update_central_logs_add_clone_id.html | 196 +++++++ .../routines/update_history_item.html | 196 +++++++ .../routines/update_synchronized_table.html | 191 +++++++ 14 files changed, 1584 insertions(+), 451 deletions(-) create mode 100644 docs/database/routines/insert_history_item.html create mode 100644 docs/database/routines/update_central_logs_add_clone_action_timestamps.html create mode 100644 docs/database/routines/update_central_logs_add_clone_id.html create mode 100644 docs/database/routines/update_history_item.html create mode 100644 docs/database/routines/update_synchronized_table.html diff --git a/docs/database/columns.html b/docs/database/columns.html index 59daaa2..0a532db 100644 --- a/docs/database/columns.html +++ b/docs/database/columns.html @@ -104,259 +104,259 @@

Columns

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/database/routines/replay_central_logs_to_clone.html b/docs/database/routines/replay_central_logs_to_clone.html index 3b25c4f..8302b80 100644 --- a/docs/database/routines/replay_central_logs_to_clone.html +++ b/docs/database/routines/replay_central_logs_to_clone.html @@ -150,7 +150,7 @@

Definition

- +
diff --git a/docs/database/routines/replay_clone_logs_to_central.html b/docs/database/routines/replay_clone_logs_to_central.html index 6a045d9..157354f 100644 --- a/docs/database/routines/replay_clone_logs_to_central.html +++ b/docs/database/routines/replay_clone_logs_to_central.html @@ -130,7 +130,7 @@

Definition

- +
diff --git a/docs/database/routines/update_central_logs_add_clone_action_timestamps.html b/docs/database/routines/update_central_logs_add_clone_action_timestamps.html new file mode 100644 index 0000000..0cf2d1d --- /dev/null +++ b/docs/database/routines/update_central_logs_add_clone_action_timestamps.html @@ -0,0 +1,186 @@ + + + + + + gis Database + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + +
+ +
+

update_central_logs_add_clone_action_timestamps


+
+
+ +

Description

+
+ + +
+
+ +
+

Update all logs created by the central database after the clone has replayed its local logs in the central database. It is necessary to update the action_tstamp_tx key of lizsync.logged_actions sync_data column. The SECURITY DEFINER allows the clone to update the protected lizsync.logged_actions table. DO NOT USE MANUALLY.

+
+ +
+
+ +
+
+
+ +

Parameters

+
+ + +
+
+
+ + + + + + + + + + + + + + + +
NameTypeMode
temporary_table_nametextIN
+
+
+
+
+ +

Definition

+
+ + +
+
+
+ +
+
+
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/database/routines/update_central_logs_add_clone_id.html b/docs/database/routines/update_central_logs_add_clone_id.html new file mode 100644 index 0000000..db8e92c --- /dev/null +++ b/docs/database/routines/update_central_logs_add_clone_id.html @@ -0,0 +1,196 @@ + + + + + + gis Database + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + +
+ +
+

update_central_logs_add_clone_id


+
+
+ +

Description

+
+ + +
+
+ +
+

Update the central database synchronisation logs (table lizsync.logged_actions) by adding the clone ID in the “replayed_by” property of the field “sync_data”. The SECURITY DEFINER allows the clone to update the protected lizsync.logged_actions table. DO NOT USE MANUALLY.

+
+ +
+
+ +
+
+
+ +

Parameters

+
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeMode
p_clone_idtextIN
p_sync_iduuidIN
p_idsARRAYIN
+
+
+
+
+ +

Definition

+
+ + +
+
+
+ +
+
+
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/database/routines/update_history_item.html b/docs/database/routines/update_history_item.html new file mode 100644 index 0000000..15a6678 --- /dev/null +++ b/docs/database/routines/update_history_item.html @@ -0,0 +1,196 @@ + + + + + + gis Database + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + +
+ +
+

update_history_item


+
+
+ +

Description

+
+ + +
+
+ +
+

Update the status of a history item in the lizsync.history table as the owner of the table. The SECURITY DEFINER allows the clone to update the protected table. DO NOT USE MANUALLY.

+
+ +
+
+ +
+
+
+ +

Parameters

+
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameTypeMode
p_sync_iduuidIN
p_statustextIN
p_server_totextIN
+
+
+
+
+ +

Definition

+
+ + +
+
+
+ +
+
+
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/database/routines/update_synchronized_table.html b/docs/database/routines/update_synchronized_table.html new file mode 100644 index 0000000..da231d0 --- /dev/null +++ b/docs/database/routines/update_synchronized_table.html @@ -0,0 +1,191 @@ + + + + + + gis Database + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+ + +
+ +
+

update_synchronized_table


+
+
+ +

Description

+
+ + +
+
+ +
+

Insert or Update the table lizsync.synchronized_tables. The SECURITY DEFINER allows the clone to update the protected table. DO NOT USE MANUALLY.

+
+ +
+
+ +
+
+
+ +

Parameters

+
+ + +
+
+
+ + + + + + + + + + + + + + + + + + + + +
NameTypeMode
p_server_iduuidIN
p_tablesARRAYIN
+
+
+
+
+ +

Definition

+
+ + +
+
+
+ +
+
+
+
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file