You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are the docs wrong, or is there something bigger here I'm missing? (Also, how does that last test pass when using datetime() instead of dateTime()? Are both valid? @lorefnon
The text was updated successfully, but these errors were encountered:
Environment
Knex version: 0.21.2
Bug
The docs describe creating a
datetime
column by usingtable.datetime()
: http://knexjs.org/#Schema-datetimeHowever, the TypeScript definition and tests seem to indicate it should be
table.dateTime()
:knex/types/index.d.ts
Line 1560 in b59161f
knex/test/integration/builder/selects.js
Line 743 in b59161f
as a matter of fact, I was only able to find a single reference that seems to use
datetime
in schema building:knex/test/unit/schema/mysql.js
Line 832 in b59161f
Are the docs wrong, or is there something bigger here I'm missing? (Also, how does that last test pass when using
datetime()
instead ofdateTime()
? Are both valid? @lorefnonThe text was updated successfully, but these errors were encountered: