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 8dcc234..ad3a308 100644 Binary files a/data/authdb.sqlite3 and b/data/authdb.sqlite3 differ