Skip to main content
1 Guest, 0 Users
Welcome, Guest. Please login.

Login with username, password and session length

Recent

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