error postgre nextval sequence second schema

jika terjadi error no exist relation untuk  fungsi nextval pada non schema public pada database postgresql ketika kita membuat fungsi autoincrement maka untuk solusinya


nextval('"other_schema".id_seq'::regclass)

semoga berguna 🙂

referensi :