knex.js + pg specify varchar to be > 255

Viewed 14792

When creating a table in knex migrations, I have indicated a col as such:

table.string("content");

It defaults to varchar 255. I would like it to be able to hold more text. How do I indicate to knex that I want this to occur?

2 Answers
Related