schema types

for some reason in my schema.ts file i have an error


export const your_table_name = pgTable('your_table_name', {
  id: serial('id')
    .primaryKey(),
})

Type 'NotNull<PgSerialBuilderInitial<"id">>' is not assignable to type 'PgColumnBuilder<ColumnBuilderBaseConfig<ColumnDataType, string> & { data: any; }, object, object, ColumnBuilderExtraConfig>'.
The types of 'array(...).array(...)._' are incompatible between these types.ts(2322)

can some one now what causing this error?
image.png
Was this page helpful?