Skip to main content
Welcome, Guest. Please login.

Login with username, password and session length
1 Guest, 0 Users

Recent

Topic: Auto Increment (Read 4006 times) previous topic - next topic

Auto Increment

Code: [Select]
CREATE SEQUENCE teams_id_seq;
ALTER TABLE teams ALTER id SET DEFAULT nextval('teams_id_seq');
ALTER SEQUENCE teams_id_seq OWNER TO elabftw;
ALTER SEQUENCE teams_id_seq OWNED BY teams.id;