diff --git a/app/models/person_info.rb b/app/models/person_info.rb new file mode 100644 index 0000000..ad09fc2 --- /dev/null +++ b/app/models/person_info.rb @@ -0,0 +1,2 @@ +class PersonInfo < ActiveRecord::Base +end diff --git a/db/migrate/013_create_person_infos.rb b/db/migrate/013_create_person_infos.rb new file mode 100644 index 0000000..145823d --- /dev/null +++ b/db/migrate/013_create_person_infos.rb @@ -0,0 +1,13 @@ +class CreatePersonInfos < ActiveRecord::Migration + def self.up + create_table :person_infos do |t| + t.column :photo, :text + t.column :address, :text + t.column :contact_information, :text + end + end + + def self.down + drop_table :person_infos + end +end diff --git a/test/unit/person_info_test.rb b/test/unit/person_info_test.rb new file mode 100644 index 0000000..7ce6789 --- /dev/null +++ b/test/unit/person_info_test.rb @@ -0,0 +1,9 @@ +require File.dirname(__FILE__) + '/../test_helper' + +class PersonInfoTest < Test::Unit::TestCase + + # Replace this with your real tests. + def test_truth + assert true + end +end -- libgit2 0.21.2