Skip to main content
Welcome, Guest. Please login.

Login with username, password and session length
9 Guests, 0 Users

Recent

Topic: Auto Increment (Read 9495 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;