I have a duplicate entry, I think I should remove it first and then it should be better.
peertube_prod=# select * from "videoChannel" where id=4598;
id | name | description | support | actorId | accountId | createdAt | updatedAt
------+---------------------------------+-------------+---------+---------+-----------+---------------------------+---------------------------
4598 | Video Games and English Project | | | 16846 | 12121 | 2022-01-17 19:57:24.56+00 | 2022-01-17 19:57:24.89+00
4598 | Video Games and English Project | | | 16846 | 12121 | 2022-01-17 19:57:24.56+00 | 2022-01-17 19:57:24.89+00
(2 rows)
peertube_prod=# ALTER TABLE « videoChannel » ADD PRIMARY KEY (id);
ERROR: could not create unique index « videoChannel_pkey »
DETAIL: Key (id)=(4598) is duplicated.