I have the following line of code in my app:
table.bigInteger("parsonId").notNullable().primary();
How to make this auto increment?
table.increments()
is not a suitable method for me.
A quick search through the sources turned up the bigincrements
column type. Perhaps that can help?
Also found it documented here: http://knexjs.org/#Schema-increments
Perfect!
Note: This is mentioned in increments
docs, so we can leave this issue closed.
Most helpful comment
A quick search through the sources turned up the
bigincrements
column type. Perhaps that can help?Also found it documented here: http://knexjs.org/#Schema-increments