Displaying 1 result from an estimated 1 matches for "primaery_key_play".
2007 Nov 17
0
Postgres sequencer and rails
...sequencer :
CREATE SEQUENCE players_id_seq
INCREMENT 1
MINVALUE 1
MAXVALUE 9223372036854775807
START 4
CACHE 1;
ALTER TABLE players_id_seq OWNER TO squash;
Table :
CREATE TABLE players
(
id bigserial NOT NULL,
firstname character varying,
lastname character varying,
CONSTRAINT primaery_key_players PRIMARY KEY (id)
)
WITH (OIDS=FALSE);
ALTER TABLE players OWNER TO squash;
First Error was that sequencer was not initialized on the beginning of
the session.
I''ve solve this : see "Ruby and Postgres" Subject maybe 2 days ago on
the same forum.
Next : When i didn''t...