本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
註冊
登入
mcarman
/
Wappler_Access
關注
1
收藏
0
複製
0
程式碼
問題
1
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
Deleting data from sqlite
master
rpm-mcarman
2 年之前
父節點
415e1cb5ee
當前提交
7d84f25890
共有
5 個檔案被更改
,包括
28 行新增
和
2 行删除
分割檢視
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
二進制
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
查看文件
Write
Preview
Loading…
取消
儲存