使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
注册
登录
mcarman
/
Wappler_Access
关注
1
点赞
0
派生
0
代码
工单
1
合并请求
0
版本发布
0
百科
动态
浏览代码
Deleting data from sqlite
master
rpm-mcarman
2 年前
父节点
415e1cb5ee
当前提交
7d84f25890
共有
5 个文件被更改
,包括
28 次插入
和
2 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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
二进制
data/authdb.sqlite3
+ 13
- 0
.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')
};
+ 1
- 1
.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/"
}
}
+ 13
- 0
.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": {}
+ 1
- 1
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/"
}
}
二进制
data/authdb.sqlite3
查看文件
撰写
预览
正在加载...
取消
保存