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