aboutsummaryrefslogtreecommitdiffstats
path: root/dbdocs/constraint.js
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-07-21 05:36:02 +0000
committerterminaldweller <thabogre@gmail.com>2022-07-21 05:36:02 +0000
commit85db7c5287ae58efc108263f7a40bdbd02de1a82 (patch)
tree8292d90db8999dabc2e3872ea75547cb7fcf0c2d /dbdocs/constraint.js
parentchanged the max doc size to 40K characters.255 was not enough... (diff)
downloadmdrtl-85db7c5287ae58efc108263f7a40bdbd02de1a82.tar.gz
mdrtl-85db7c5287ae58efc108263f7a40bdbd02de1a82.zip
added docs for the db using schemaspy
Diffstat (limited to 'dbdocs/constraint.js')
-rw-r--r--dbdocs/constraint.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/dbdocs/constraint.js b/dbdocs/constraint.js
new file mode 100644
index 0000000..216c1a8
--- /dev/null
+++ b/dbdocs/constraint.js
@@ -0,0 +1,14 @@
+$(document).ready(function() {
+ $.fn.dataTableExt.afnFiltering.length = 0;
+ var options = {
+ lengthChange: false,
+ ordering: true,
+ paging: config.pagination,
+ pageLength: 50,
+ autoWidth: true,
+ processing: true,
+ order: [[ 0, "asc" ]]
+ }
+ $('#fk_table').DataTable(options);
+ $('#check_table').DataTable(options);
+} );