CREATE TABLE questions ( id int4 NOT NULL DEFAULT nextval('questions_id_seq'::regclass), name varchar, email varchar, editor_id int4, question text, answer text, ok bool, mail_sent bool DEFAULT false, mail_sent_at timestamp, updated_at timestamp, "notify" bool, created_at timestamp, <--------------------- if i remove that save works CONSTRAINT q_pk PRIMARY KEY (id) ) WITH OIDS;