From ca21f4715dbbfc49caf8dc6e25a6d9c6b540a6da Mon Sep 17 00:00:00 2001 From: rpm-mcarman <65228808+rpm-mcarman@users.noreply.github.com> Date: Mon, 18 Mar 2024 21:13:55 -0400 Subject: [PATCH] DB Changes --- .../authdb/20240319011222_remove nothing.js | 13 +++++++++++++ .../targets/Development/databases/authdb.json | 13 ------------- data/authdb.sqlite3 | Bin 32768 -> 32768 bytes 3 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 .wappler/migrations/authdb/20240319011222_remove nothing.js diff --git a/.wappler/migrations/authdb/20240319011222_remove nothing.js b/.wappler/migrations/authdb/20240319011222_remove nothing.js new file mode 100644 index 0000000..c023844 --- /dev/null +++ b/.wappler/migrations/authdb/20240319011222_remove nothing.js @@ -0,0 +1,13 @@ + +exports.up = function(knex) { + return knex.schema + .dropTable('Nothing') + +}; + +exports.down = function(knex) { + return knex.schema + .createTable('Nothing', async function (table) { + table.increments('id').primary().notNullable(); + }) +}; diff --git a/.wappler/targets/Development/databases/authdb.json b/.wappler/targets/Development/databases/authdb.json index 05e9c21..9ea3466 100644 --- a/.wappler/targets/Development/databases/authdb.json +++ b/.wappler/targets/Development/databases/authdb.json @@ -139,19 +139,6 @@ } }, "db": {} - }, - "Nothing": { - "columns": { - "id": { - "db": { - "type": "increments", - "primary": true, - "unique": false, - "nullable": false - } - } - }, - "db": {} } }, "views": {} diff --git a/data/authdb.sqlite3 b/data/authdb.sqlite3 index 8dcc23448ed85bccafa05217df4354931b92fc37..ad3a308afb634dedeb0b3cbe89c232969dd85bd6 100644 GIT binary patch delta 152 zcmZo@U}|V!njkI6!@$760mY0!nscI#F%J)eUfN4uAdiiQd1JOQHw%!Nx_J?I5{m#E z-+KoBYy3<2i}_vnW%=H3Rus6+r>Dcl%HYe$YGhz!Vqk1&X<%q*WMmXyl$x7gma34K wUy_lTm#&vp%*NOk;$o}2Syuj-02`YWBeON<%?tvY84G^#0|5Er B6j=ZO