瀏覽代碼

DB Changes

master
rpm-mcarman 2 年之前
父節點
當前提交
ca21f4715d
共有 3 個檔案被更改,包括 13 行新增13 行删除
  1. +13
    -0
      thing.js
  2. +0
    -13
      .wappler/targets/Development/databases/authdb.json
  3. 二進制
      data/authdb.sqlite3

.wappler/migrations/authdb/20240319011222_remove → thing.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();
})
};

+ 0
- 13
.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": {}


二進制
data/authdb.sqlite3 查看文件


Loading…
取消
儲存