Commit 14af391707b01ef43246d79ffabe42738ca636f4

Authored by AntonioTerceiro
1 parent 0b26fa0a

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@285 3f533792-8f58-4932-b0fe-aaf55b0a4547

Showing 1 changed file with 0 additions and 32 deletions   Show diff stats
db/migrate/002_create_profiles.rb
@@ -1,32 +0,0 @@ @@ -1,32 +0,0 @@
1 -class CreateProfiles < ActiveRecord::Migration  
2 - def self.up  
3 - create_table :profiles do |t|  
4 - t.column :name, :string  
5 - t.column :type, :string  
6 - t.column :identifier, :string  
7 - t.column :virtual_community_id, :integer  
8 - t.column :flexible_template_template, :string, :default => "default"  
9 - t.column :flexible_template_theme, :string, :default => "default"  
10 - t.column :flexible_template_icon_theme, :string, :default => "default"  
11 - t.column :active, :boolean, :default => false  
12 -  
13 - #person fields  
14 - t.column :user_id, :integer  
15 -  
16 - #enterprise fields  
17 - t.column :address, :string  
18 - t.column :contact_phone, :string  
19 - t.column :contact_person, :string  
20 - t.column :acronym, :string  
21 - t.column :foundation_year, :integer, :limit => 4  
22 - t.column :legal_form, :string  
23 - t.column :economic_activity, :string  
24 - t.column :management_information, :string  
25 -  
26 - end  
27 - end  
28 -  
29 - def self.down  
30 - drop_table :profiles  
31 - end  
32 -end