Displaying 1 result from an estimated 1 matches for "fanalyz".
Did you mean:
analyz
2007 Dec 14
0
"Multiple default values" with Rails migration
...nd
end
def self.down
drop_table :users
end
end
== CreateUsers: migrating
================================================
-- create_table(:users)
rake aborted!
RuntimeError: ERROR C42601 Mmultiple default values specified for
column "id" of table "users" Fanalyze.c L1216
RtransformColumnDefinition: CREATE TABLE users ("id" serial primary
key DEFAULT NULL, "user_id" integer DEFAULT NULL, "timestamp" integer
DEFAULT NULL, "userval" smallint NOT NULL)
(See full trace by running task with --trace)
--~--~---------~...