Commit 6e1e807dbcf934c4f72f7b8007065f24ed25d646
1 parent
343093b3
Exists in
master
and in
28 other branches
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,13 +11,16 @@ class CreateProfiles < ActiveRecord::Migration | ||
11 | t.column :contact_phone, :string | 11 | t.column :contact_phone, :string |
12 | 12 | ||
13 | t.column :home_page_id, :integer | 13 | t.column :home_page_id, :integer |
14 | - | 14 | + |
15 | #person fields | 15 | #person fields |
16 | t.column :user_id, :integer | 16 | t.column :user_id, :integer |
17 | 17 | ||
18 | #enterprise fields | 18 | #enterprise fields |
19 | t.column :region_id, :integer | 19 | t.column :region_id, :integer |
20 | 20 | ||
21 | + # for everything else | ||
22 | + t.column :data, :text | ||
23 | + | ||
21 | t.column :created_at, :datetime | 24 | t.column :created_at, :datetime |
22 | end | 25 | end |
23 | end | 26 | end |