Displaying 1 result from an estimated 1 matches for "data_id_seq".
2005 Dec 20
0
db/schema.rb and PostgreSQL sequences
...d", :int
t.column "name", :string
t.column "long_description", :text
t.column "created", :datetime
end
Now, I''ve done this all wrong, I know. The data_id field represented
here creates a new sequence for each table, in this case named
"projects_data_id_seq". I need all tables to use the same, preexisting
sequence (data_id_seq).
Do I need to specify the sql for this? Can anybody help me? :)
Thanks :)
--
Henning Kilset Pedersen | prosjektleder
mopo as | mobil 41 14 23 75
| kontor 75 80 20 81...