我在嘗試刪除另一個表(頁面)引用的表(應用程序)時收到此錯誤。 knex.schema.dropTable("application").exec();
錯誤是 Possibly unhandled error: cannot drop table application because other objects depend on it
at Connection.parseE (/ho
假設我們有一個連接表vehicle_inspections和另一個連接表inspection_actions,以及actions,vehicles, and檢查的基本表。 可以說,我的願望以下DB條目: vehicles
----------------------------
id make
----------------------------
1 Toyota
act
我試圖代碼的鏈接創建FK: how to do knex.js migration 我上線的錯誤: table.bigInteger('AddressId').unsigned().index().inTable('Address').references('id');
錯誤: TypeError: Object # has no method 'inTable' at
TableBuild