fix(migrator): set primary key for schema_versions table #615
test.yml
on: push
lint
1m 9s
typecheck
59s
Matrix: test-mssql
Matrix: test-mysql
Matrix: test-postgres
Matrix: test-sqlite
Annotations
7 errors
typecheck:
src/Connection/index.ts#L241
Argument of type 'import("/home/runner/work/lucid/lucid/node_modules/knex/types/index").Knex<any, any[]>' is not assignable to parameter of type 'import("/home/runner/work/lucid/lucid/node_modules/knex-dynamic-connection/node_modules/knex/types/index").Knex<any, any[]>'.
|
typecheck:
src/Connection/index.ts#L260
Argument of type 'import("/home/runner/work/lucid/lucid/node_modules/knex/types/index").Knex<any, any[]>' is not assignable to parameter of type 'import("/home/runner/work/lucid/lucid/node_modules/knex-dynamic-connection/node_modules/knex/types/index").Knex<any, any[]>'.
|
typecheck:
test/database/query-builder.spec.ts#L7104
Property 'orHavingNull' does not exist on type 'QueryBuilder<{}, (DeferredKeySelection<{}, string, boolean, {}, boolean, {}, unknown> | DeferredKeySelection<{}, never, false, {}, false, {}, never>)[] | DeferredKeySelection<...>[]>'. Did you mean 'havingNull'?
|
typecheck:
test/database/query-builder.spec.ts#L7122
Property 'orHavingNull' does not exist on type 'QueryBuilder<{}, (DeferredKeySelection<{}, string, boolean, {}, boolean, {}, unknown> | DeferredKeySelection<{}, never, false, {}, false, {}, never>)[] | DeferredKeySelection<...>[]>'. Did you mean 'havingNull'?
|
typecheck:
test/database/query-builder.spec.ts#L7196
Property 'orHavingNotNull' does not exist on type 'QueryBuilder<{}, (DeferredKeySelection<{}, string, boolean, {}, boolean, {}, unknown> | DeferredKeySelection<{}, never, false, {}, false, {}, never>)[] | DeferredKeySelection<...>[]>'. Did you mean 'havingNotNull'?
|
typecheck:
test/database/query-builder.spec.ts#L7214
Property 'orHavingNotNull' does not exist on type 'QueryBuilder<{}, (DeferredKeySelection<{}, string, boolean, {}, boolean, {}, unknown> | DeferredKeySelection<{}, never, false, {}, false, {}, never>)[] | DeferredKeySelection<...>[]>'. Did you mean 'havingNotNull'?
|
typecheck
Process completed with exit code 2.
|