From fb54106b2daf79191d37b32a532714e80382cf2a Mon Sep 17 00:00:00 2001 From: jndaniels Date: Tue, 29 Oct 2024 20:59:22 -0500 Subject: [PATCH] Created DB SQLite --- .../app/modules/connections/ERTdb.json | 13 ++++ .../targets/Development/databases/ERTdb.json | 65 ++++++++++++++++++ ERTSQlite.db | Bin 8192 -> 16384 bytes app/api/dbQuery.json | 3 + app/modules/connections/ERTdb.json | 13 ++++ package.json | 5 +- 6 files changed, 97 insertions(+), 2 deletions(-) create mode 100644 .wappler/targets/Development/app/modules/connections/ERTdb.json create mode 100644 .wappler/targets/Development/databases/ERTdb.json create mode 100644 app/api/dbQuery.json create mode 100644 app/modules/connections/ERTdb.json diff --git a/.wappler/targets/Development/app/modules/connections/ERTdb.json b/.wappler/targets/Development/app/modules/connections/ERTdb.json new file mode 100644 index 0000000..6afbb54 --- /dev/null +++ b/.wappler/targets/Development/app/modules/connections/ERTdb.json @@ -0,0 +1,13 @@ +{ + "name": "ERTdb", + "module": "dbconnector", + "action": "connect", + "options": { + "client": "sqlite3", + "connection": { + "filename": "/ERTSQlite.db" + }, + "tz": "utc" + }, + "fileName": "ERTdb.json" +} \ No newline at end of file diff --git a/.wappler/targets/Development/databases/ERTdb.json b/.wappler/targets/Development/databases/ERTdb.json new file mode 100644 index 0000000..16fb2ed --- /dev/null +++ b/.wappler/targets/Development/databases/ERTdb.json @@ -0,0 +1,65 @@ +{ + "type": "sqlite3", + "connection": { + "filename": "/ERTSQlite.db" + }, + "direct": true, + "schema": { + "tables": { + "da": { + "db": {}, + "columns": { + "ID": { + "db": { + "type": "integer", + "primary": true, + "unique": false, + "nullable": false + } + }, + "db_fullName": { + "db": { + "type": "text", + "primary": false, + "unique": false, + "nullable": true + } + }, + "db_licenseNumber": { + "db": { + "type": "text", + "primary": false, + "unique": false, + "nullable": true + } + }, + "db_stateIssue": { + "db": { + "type": "text", + "primary": false, + "unique": false, + "nullable": true + } + }, + "db_employeeID": { + "db": { + "type": "integer", + "primary": false, + "unique": false, + "nullable": true + } + }, + "owner": { + "db": { + "type": "text", + "primary": false, + "unique": false, + "nullable": true + } + } + } + } + }, + "views": {} + } +} diff --git a/ERTSQlite.db b/ERTSQlite.db index 010f5ef4ec0995d37742323dc4de666566a9f91c..839dbe593d426381eeb46c50a19e8564f8ab1427 100644 GIT binary patch delta 304 zcmZp0XlP)ZAT7wuz`(!)#4x}zQO8)AnL*F`BQH>hnfEpWKQo^$@9m9+nY?KM%xvP? z+KiDUiAg!B#f3SUC8_bnsfDGfdCBNp7Uv*W#}HSA5Jx8;R|Pb+8hMGisX9QNnvKCs z?BargjLm{zGgA^%5}7AE^6N+`1O$2dItE25c)La_IEIG!d-?%Q^mX+MnVidC8OY0} z*;vKMF0QM~*sKoL8lRFFpP!QwZ)9L(VrXDwiOy$2agY+a^yWbR^#Y3o1h_!nX5|0L U!2ffzpul^6c2-7aL5`F}0Fi-G@Bjb+ delta 79 zcmZo@U~F)hAT7wmz`y{)Fu*iX$C#gqLC^XlFHne)UzdSjce9|tem;@L07iCkK|#i5 Z?vli$oYa)WltiY