velocious 1.0.98 → 1.0.99
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -271,6 +271,8 @@ export default class VelociousDatabaseMigration {
|
|
|
271
271
|
|
|
272
272
|
if (id !== false) {
|
|
273
273
|
({default: idDefault, type: idType, ...restArgsId} = id)
|
|
274
|
+
|
|
275
|
+
restArgsError(restArgsId)
|
|
274
276
|
}
|
|
275
277
|
|
|
276
278
|
if (!idType) {
|
|
@@ -280,7 +282,6 @@ export default class VelociousDatabaseMigration {
|
|
|
280
282
|
const tableData = new TableData(tableName)
|
|
281
283
|
|
|
282
284
|
restArgsError(restArgs)
|
|
283
|
-
restArgsError(restArgsId)
|
|
284
285
|
|
|
285
286
|
if (!(idType in tableData)) throw new Error(`Unsupported primary key type: ${idType}`)
|
|
286
287
|
|