knex.schema .dropTableIfExists("contacts") .createTable("contacts", tbl => { tbl.increments().primary(); tbl.text("first_name", 30); tbl.text("last_name", 30); tbl .text("email", 30) .unique() .notNullable(); })
knex.schema.createTable("contacts", tbl => { tbl.increments("id").primary(); tbl.text("first_name", 30); tbl.text("last_name", 30); tbl.text("email", 30).notNullable(); })