浏览代码

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 查看文件


正在加载...
取消
保存