Changing user's id data type

Is it okay to use uuid as the data type for user's id? Does it have to be text?
Will that cause any problems down the line?

export const user = pgTable("user", {
  id: uuid("id").primaryKey(),
});
Was this page helpful?