SyntaxFix
Write A Post
Hire A Developer
Questions
If you want to add sequence to id in the table which already exist you can use:
CREATE SEQUENCE user_id_seq; ALTER TABLE user ALTER user_id SET DEFAULT NEXTVAL('user_id_seq');