Commit e40707bb2fd9c6449a7a4dea65647ec6bfea0c36
1 parent
cebdf7c4
Exists in
master
and in
22 other branches
ActionItem7: adding skeleton files
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@429 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
3 changed files
with
24 additions
and
0 deletions
Show diff stats
@@ -0,0 +1,13 @@ | @@ -0,0 +1,13 @@ | ||
1 | +class CreatePersonInfos < ActiveRecord::Migration | ||
2 | + def self.up | ||
3 | + create_table :person_infos do |t| | ||
4 | + t.column :photo, :text | ||
5 | + t.column :address, :text | ||
6 | + t.column :contact_information, :text | ||
7 | + end | ||
8 | + end | ||
9 | + | ||
10 | + def self.down | ||
11 | + drop_table :person_infos | ||
12 | + end | ||
13 | +end |