(name: string)
| 52 | }); |
| 53 | // TODO: This will replace `nanoId` in: https://github.com/CapSoftware/Cap/pull/1105 |
| 54 | const nanoIdRequired = (name: string) => |
| 55 | varchar(name, { length: nanoIdLength }).notNull(); |
| 56 | |
| 57 | const nanoIdNullable = customType<{ data: string; notNull: false }>({ |
| 58 | dataType() { |