Displaying 1 result from an estimated 1 matches for "property_owner_id".
2005 Dec 20
0
db/schema.rb and PostgreSQL sequences
...n contain attachments to
most any model to be exact) need this id as their foreign key counterpart.
create_table "projects", :force => true do |t|
t.column "data_id", :serial t.column "parent_id", :int
t.column "customer_id", :int
t.column "property_owner_id", :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_d...