I have changed accounts table and add constraints: --- CREATE TABLE accounts ( id bigint NOT NULL, username character(255), CONSTRAINT c_accounts_pkey PRIMARY KEY (id), CONSTRAINT u_accounts_id UNIQUE (id) ) --- account_seq DDL:
CREATE SEQUENCE account_seq INCREMENT 1 MINVALUE 1 MAXVALUE 9223372036854775807 START 1 CACHE 1; ---- But active record don't use account_seq again :(. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

