For the following code:
migrator.registerMigration("creatZipCodes") { db in
try db.create(table: "ZipCodes") { t in
t.autoIncrementedPrimaryKey("zipRowId")
t.column("zipCode", .text).notNull()
t.column("zipState", .text).notNull()
t.column("zipType", .text).notNull()
t.column("zipCity", .text).notNull()
}
}
How do I add an index for "zipCode" column. Do I have to use the sql command CREATE INDEX?