From 7d84f2589037e4d7b72627c1f2e4447422600774 Mon Sep 17 00:00:00 2001 From: rpm-mcarman <65228808+rpm-mcarman@users.noreply.github.com> Date: Mon, 18 Mar 2024 20:22:10 -0400 Subject: [PATCH] Deleting data from sqlite --- .../authdb/20240319002134_Nothing.js | 13 +++++++++++++ .../Development/app/config/config.json | 2 +- .../targets/Development/databases/authdb.json | 13 +++++++++++++ app/config/config.json | 2 +- data/authdb.sqlite3 | Bin 28672 -> 32768 bytes 5 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .wappler/migrations/authdb/20240319002134_Nothing.js diff --git a/.wappler/migrations/authdb/20240319002134_Nothing.js b/.wappler/migrations/authdb/20240319002134_Nothing.js new file mode 100644 index 0000000..228edda --- /dev/null +++ b/.wappler/migrations/authdb/20240319002134_Nothing.js @@ -0,0 +1,13 @@ + +exports.up = function(knex) { + return knex.schema + .createTable('Nothing', async function (table) { + table.increments('id'); + }) + +}; + +exports.down = function(knex) { + return knex.schema + .dropTable('Nothing') +}; diff --git a/.wappler/targets/Development/app/config/config.json b/.wappler/targets/Development/app/config/config.json index 48d79c6..00bfe1c 100644 --- a/.wappler/targets/Development/app/config/config.json +++ b/.wappler/targets/Development/app/config/config.json @@ -6,6 +6,6 @@ "methods": "GET,POST,DELETE,PATCH,PUT" }, "env": { - "API_BASEURL": "http://localhost:8080/api/v1.0/" + "API_BASEURL": "http://vapor.prelub.com/api/v1.0/" } } \ No newline at end of file diff --git a/.wappler/targets/Development/databases/authdb.json b/.wappler/targets/Development/databases/authdb.json index 9ea3466..05e9c21 100644 --- a/.wappler/targets/Development/databases/authdb.json +++ b/.wappler/targets/Development/databases/authdb.json @@ -139,6 +139,19 @@ } }, "db": {} + }, + "Nothing": { + "columns": { + "id": { + "db": { + "type": "increments", + "primary": true, + "unique": false, + "nullable": false + } + } + }, + "db": {} } }, "views": {} diff --git a/app/config/config.json b/app/config/config.json index 48d79c6..00bfe1c 100644 --- a/app/config/config.json +++ b/app/config/config.json @@ -6,6 +6,6 @@ "methods": "GET,POST,DELETE,PATCH,PUT" }, "env": { - "API_BASEURL": "http://localhost:8080/api/v1.0/" + "API_BASEURL": "http://vapor.prelub.com/api/v1.0/" } } \ No newline at end of file diff --git a/data/authdb.sqlite3 b/data/authdb.sqlite3 index 105eead3ec84333646657ada65f2d1909f6d1e74..8dcc23448ed85bccafa05217df4354931b92fc37 100644 GIT binary patch delta 217 zcmZp8z}V2hG(lRBn}LCW1BhXOW1^0+G&h4@+Dl%b5Igrg27U{^XM7gC3Oti}n7QX| zY*gVkN@iylmzHL1lr2e2%1QOhFUiQvONUY%&Oxq@A+8D`j!r(V3JFlr$p?6h7&SLD z^DwgTvGU6@@L%I!!e7kq!Y{j7P=K3XU6qxU!Jd)T$iT?Nz}V2zz`)4R*d!jRSud-Y sm9Z~GbdT<47y0=DY^+j@%+{QfGm1)j+~%$pSj xy16$q^DwgTu<*Mu@L%I!!e7kqvRP5VgnzS({Coj67AZz%YtG4WeBz4?8~}S@66XK_