Commit 6e1e807dbcf934c4f72f7b8007065f24ed25d646

Authored by AntonioTerceiro
1 parent 343093b3

ActionItem41: adding data field to Profile table


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1320 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
db/migrate/003_create_profiles.rb
... ... @@ -11,13 +11,16 @@ class CreateProfiles < ActiveRecord::Migration
11 11 t.column :contact_phone, :string
12 12  
13 13 t.column :home_page_id, :integer
14   -
  14 +
15 15 #person fields
16 16 t.column :user_id, :integer
17 17  
18 18 #enterprise fields
19 19 t.column :region_id, :integer
20 20  
  21 + # for everything else
  22 + t.column :data, :text
  23 +
21 24 t.column :created_at, :datetime
22 25 end
23 26 end
... ...