This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
mcarman
/
Wappler_Access
Watch
1
Star
0
Fork
0
Code
Issues
1
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Deleting data from sqlite
master
rpm-mcarman
2 years ago
parent
415e1cb5ee
commit
7d84f25890
5 changed files
with
28 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+13
-0
.wappler/migrations/authdb/20240319002134_Nothing.js
+1
-1
.wappler/targets/Development/app/config/config.json
+13
-0
.wappler/targets/Development/databases/authdb.json
+1
-1
app/config/config.json
BIN
data/authdb.sqlite3
+ 13
- 0
.wappler/migrations/authdb/20240319002134_Nothing.js
View File
@@ -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')
};
+ 1
- 1
.wappler/targets/Development/app/config/config.json
View File
@@ -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/"
}
}
+ 13
- 0
.wappler/targets/Development/databases/authdb.json
View File
@@ -139,6 +139,19 @@
}
},
"db": {}
},
"Nothing": {
"columns": {
"id": {
"db": {
"type": "increments",
"primary": true,
"unique": false,
"nullable": false
}
}
},
"db": {}
}
},
"views": {}
+ 1
- 1
app/config/config.json
View File
@@ -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/"
}
}
BIN
data/authdb.sqlite3
View File
Write
Preview
Loading…
Cancel
Save