<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -178,7 +178,7 @@ class Ministry &lt; ActiveRecord::Base
   end
   
   def involved_student_roles
-    @involved_student_roles ||= StudentRole.find(:all, :conditions =&gt; { _(:involved, :ministry_roles) =&gt; true })
+    @involved_student_roles ||= StudentRole.find(:all, :conditions =&gt; { _(:involved, :ministry_roles) =&gt; true }, :order =&gt; _(:position, :ministry_roles))
   end
   
   def involved_student_role_ids</diff>
      <filename>app/models/ministry.rb</filename>
    </modified>
    <modified>
      <diff>@@ -13,7 +13,7 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
 
   create_table &quot;addresses&quot;, :force =&gt; true do |t|
     t.integer &quot;person_id&quot;
-    t.string  &quot;address_type&quot;
+    t.text    &quot;address_type&quot;
     t.string  &quot;title&quot;
     t.string  &quot;address1&quot;
     t.string  &quot;address2&quot;
@@ -34,7 +34,7 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
   end
 
   add_index &quot;addresses&quot;, [&quot;email&quot;], :name =&gt; &quot;index_addresses_on_email&quot;
-  add_index &quot;addresses&quot;, [&quot;person_id&quot;], :name =&gt; &quot;index_addresses_on_person_id&quot;
+  add_index &quot;addresses&quot;, [&quot;person_id&quot;], :name =&gt; &quot;person_id&quot;
 
   create_table &quot;campus_involvements&quot;, :force =&gt; true do |t|
     t.integer &quot;person_id&quot;
@@ -51,27 +51,26 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
 
   add_index &quot;campus_involvements&quot;, [&quot;campus_id&quot;], :name =&gt; &quot;index_campus_involvements_on_campus_id&quot;
   add_index &quot;campus_involvements&quot;, [&quot;ministry_id&quot;], :name =&gt; &quot;index_campus_involvements_on_ministry_id&quot;
-  add_index &quot;campus_involvements&quot;, [&quot;person_id&quot;, &quot;campus_id&quot;], :name =&gt; &quot;index_campus_involvements_on_person_id_and_campus_id&quot;, :unique =&gt; true
-  add_index &quot;campus_involvements&quot;, [&quot;person_id&quot;], :name =&gt; &quot;index_campus_involvements_on_person_id&quot;
+  add_index &quot;campus_involvements&quot;, [&quot;person_id&quot;], :name =&gt; &quot;person_id&quot;
 
   create_table &quot;campuses&quot;, :force =&gt; true do |t|
-    t.string  &quot;name&quot;
-    t.string  &quot;address&quot;
-    t.string  &quot;city&quot;
-    t.string  &quot;state&quot;
-    t.string  &quot;zip&quot;
-    t.string  &quot;country&quot;
-    t.string  &quot;phone&quot;
-    t.string  &quot;fax&quot;
-    t.string  &quot;url&quot;
-    t.string  &quot;abbrv&quot;
-    t.boolean &quot;is_secure&quot;
-    t.integer &quot;enrollment&quot;
-    t.date    &quot;created_at&quot;
-    t.date    &quot;updated_at&quot;
-    t.string  &quot;type&quot;
-    t.string  &quot;address2&quot;
-    t.string  &quot;county&quot;
+    t.string &quot;name&quot;
+    t.string &quot;address&quot;
+    t.string &quot;city&quot;
+    t.string &quot;state&quot;
+    t.string &quot;zip&quot;
+    t.string &quot;country&quot;
+    t.string &quot;phone&quot;
+    t.string &quot;fax&quot;
+    t.string &quot;url&quot;
+    t.string &quot;abbrv&quot;
+    t.string &quot;is_secure&quot;,  :limit =&gt; 100
+    t.string &quot;enrollment&quot;, :limit =&gt; 100
+    t.date   &quot;created_at&quot;
+    t.date   &quot;updated_at&quot;
+    t.string &quot;type&quot;
+    t.string &quot;address2&quot;
+    t.string &quot;county&quot;
   end
 
   add_index &quot;campuses&quot;, [&quot;county&quot;], :name =&gt; &quot;index_campuses_on_county&quot;
@@ -93,16 +92,100 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
   end
 
   create_table &quot;conference_registrations&quot;, :force =&gt; true do |t|
+    t.datetime &quot;registrationDate&quot;
+    t.string   &quot;registrationType&quot;,      :limit =&gt; 80
+    t.string   &quot;preRegistered&quot;,         :limit =&gt; 1
+    t.integer  &quot;newPersonID&quot;
     t.integer  &quot;conference_id&quot;
+    t.datetime &quot;arriveDate&quot;
+    t.datetime &quot;leaveDate&quot;
+    t.integer  &quot;additionalRooms&quot;
+    t.integer  &quot;spouseComing&quot;
+    t.integer  &quot;spouseRegistrationID&quot;
+    t.string   &quot;registeredFirst&quot;,       :limit =&gt; 1
+    t.string   &quot;isOnsite&quot;,              :limit =&gt; 1
+    t.integer  &quot;fk_RegistrationTypeID&quot;
     t.integer  &quot;person_id&quot;
-    t.datetime &quot;created_at&quot;
-    t.datetime &quot;updated_at&quot;
   end
 
+  add_index &quot;conference_registrations&quot;, [&quot;conference_id&quot;], :name =&gt; &quot;fk_ConferenceID&quot;
+  add_index &quot;conference_registrations&quot;, [&quot;fk_RegistrationTypeID&quot;], :name =&gt; &quot;fk_RegistrationTypeID&quot;
+  add_index &quot;conference_registrations&quot;, [&quot;person_id&quot;], :name =&gt; &quot;fk_PersonID&quot;
+
   create_table &quot;conferences&quot;, :force =&gt; true do |t|
-    t.string   &quot;name&quot;
-    t.datetime &quot;created_at&quot;
-    t.datetime &quot;updated_at&quot;
+    t.datetime &quot;createDate&quot;
+    t.string   &quot;attributesAsked&quot;,          :limit =&gt; 30
+    t.string   &quot;name&quot;,                     :limit =&gt; 64
+    t.string   &quot;theme&quot;,                    :limit =&gt; 128
+    t.string   &quot;password&quot;,                 :limit =&gt; 20
+    t.string   &quot;staffPassword&quot;,            :limit =&gt; 20
+    t.string   &quot;region&quot;,                   :limit =&gt; 3
+    t.string   &quot;briefDescription&quot;,         :limit =&gt; 8000
+    t.string   &quot;contactName&quot;,              :limit =&gt; 60
+    t.string   &quot;contactEmail&quot;,             :limit =&gt; 50
+    t.string   &quot;contactPhone&quot;,             :limit =&gt; 24
+    t.string   &quot;contactAddress1&quot;,          :limit =&gt; 35
+    t.string   &quot;contactAddress2&quot;,          :limit =&gt; 35
+    t.string   &quot;contactCity&quot;,              :limit =&gt; 30
+    t.string   &quot;contactState&quot;,             :limit =&gt; 6
+    t.string   &quot;contactZip&quot;,               :limit =&gt; 10
+    t.string   &quot;splashPageURL&quot;,            :limit =&gt; 128
+    t.string   &quot;confImageId&quot;,              :limit =&gt; 64
+    t.string   &quot;fontFace&quot;,                 :limit =&gt; 64
+    t.string   &quot;backgroundColor&quot;,          :limit =&gt; 6
+    t.string   &quot;foregroundColor&quot;,          :limit =&gt; 6
+    t.string   &quot;highlightColor&quot;,           :limit =&gt; 6
+    t.string   &quot;confirmationEmail&quot;,        :limit =&gt; 4000
+    t.string   &quot;acceptCreditCards&quot;,        :limit =&gt; 1
+    t.string   &quot;acceptEChecks&quot;,            :limit =&gt; 1
+    t.string   &quot;acceptScholarships&quot;,       :limit =&gt; 1
+    t.string   &quot;authnetPassword&quot;,          :limit =&gt; 200
+    t.datetime &quot;preRegStart&quot;
+    t.datetime &quot;preRegEnd&quot;
+    t.datetime &quot;defaultDateStaffArrive&quot;
+    t.datetime &quot;defaultDateStaffLeave&quot;
+    t.datetime &quot;defaultDateGuestArrive&quot;
+    t.datetime &quot;defaultDateGuestLeave&quot;
+    t.datetime &quot;defaultDateStudentArrive&quot;
+    t.datetime &quot;defaultDateStudentLeave&quot;
+    t.datetime &quot;masterDefaultDateArrive&quot;
+    t.datetime &quot;masterDefaultDateLeave&quot;
+    t.string   &quot;ministryType&quot;,             :limit =&gt; 2
+    t.string   &quot;isCloaked&quot;,                :limit =&gt; 1
+    t.float    &quot;onsiteCost&quot;
+    t.float    &quot;commuterCost&quot;
+    t.float    &quot;preRegDeposit&quot;
+    t.float    &quot;discountFullPayment&quot;
+    t.float    &quot;discountEarlyReg&quot;
+    t.datetime &quot;discountEarlyRegDate&quot;
+    t.string   &quot;checkPayableTo&quot;,           :limit =&gt; 40
+    t.string   &quot;merchantAcctNum&quot;,          :limit =&gt; 64
+    t.string   &quot;backgroundColor3&quot;,         :limit =&gt; 6
+    t.string   &quot;backgroundColor2&quot;,         :limit =&gt; 6
+    t.string   &quot;highlightColor2&quot;,          :limit =&gt; 6
+    t.string   &quot;requiredColor&quot;,            :limit =&gt; 6
+    t.string   &quot;acceptVisa&quot;,               :limit =&gt; 1
+    t.string   &quot;acceptMasterCard&quot;,         :limit =&gt; 1
+    t.string   &quot;acceptAmericanExpress&quot;,    :limit =&gt; 1
+    t.string   &quot;acceptDiscover&quot;,           :limit =&gt; 1
+    t.integer  &quot;staffProfileNumber&quot;
+    t.integer  &quot;staffProfileReqNumber&quot;
+    t.integer  &quot;guestProfileNumber&quot;
+    t.integer  &quot;guestProfileReqNumber&quot;
+    t.integer  &quot;studentProfileNumber&quot;
+    t.integer  &quot;studentProfileReqNumber&quot;
+    t.string   &quot;askStudentChildren&quot;,       :limit =&gt; 1
+    t.string   &quot;askStaffChildren&quot;,         :limit =&gt; 1
+    t.string   &quot;askGuestChildren&quot;,         :limit =&gt; 1
+    t.string   &quot;studentLabel&quot;,             :limit =&gt; 64
+    t.string   &quot;staffLabel&quot;,               :limit =&gt; 64
+    t.string   &quot;guestLabel&quot;,               :limit =&gt; 64
+    t.string   &quot;studentDesc&quot;
+    t.string   &quot;staffDesc&quot;
+    t.string   &quot;guestDesc&quot;
+    t.string   &quot;askStudentSpouse&quot;,         :limit =&gt; 1
+    t.string   &quot;askStaffSpouse&quot;,           :limit =&gt; 1
+    t.string   &quot;askGuestSpouse&quot;,           :limit =&gt; 1
   end
 
   create_table &quot;correspondence_types&quot;, :force =&gt; true do |t|
@@ -140,11 +223,10 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
   add_index &quot;counties&quot;, [&quot;state&quot;], :name =&gt; &quot;index_counties_on_state&quot;
 
   create_table &quot;countries&quot;, :force =&gt; true do |t|
-    t.string  &quot;country&quot;
-    t.string  &quot;code&quot;
-    t.boolean &quot;is_closed&quot;
+    t.string  &quot;country&quot;,  :limit =&gt; 100
+    t.string  &quot;code&quot;,     :limit =&gt; 10
+    t.boolean &quot;closed&quot;,                  :default =&gt; false
     t.string  &quot;iso_code&quot;
-    t.boolean &quot;closed&quot;,    :default =&gt; false
   end
 
   create_table &quot;custom_attributes&quot;, :force =&gt; true do |t|
@@ -182,8 +264,6 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
     t.date    &quot;created_at&quot;
   end
 
-  add_index &quot;dorms&quot;, [&quot;campus_id&quot;], :name =&gt; &quot;index_dorms_on_campus_id&quot;
-
   create_table &quot;email_templates&quot;, :force =&gt; true do |t|
     t.integer  &quot;correspondence_type_id&quot;
     t.string   &quot;outcome_type&quot;
@@ -227,7 +307,7 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
     t.boolean &quot;requested&quot;
   end
 
-  add_index &quot;group_involvements&quot;, [&quot;person_id&quot;, &quot;group_id&quot;], :name =&gt; &quot;person_id_group_id&quot;, :unique =&gt; true
+  add_index &quot;group_involvements&quot;, [&quot;person_id&quot;, &quot;group_id&quot;, &quot;level&quot;], :name =&gt; &quot;unique_membership&quot;, :unique =&gt; true
 
   create_table &quot;group_types&quot;, :force =&gt; true do |t|
     t.integer  &quot;ministry_id&quot;
@@ -295,13 +375,14 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
     t.integer &quot;ministries_count&quot;
   end
 
-  add_index &quot;ministries&quot;, [&quot;parent_id&quot;], :name =&gt; &quot;index_ministries_on_parent_id&quot;
+  add_index &quot;ministries&quot;, [&quot;parent_id&quot;], :name =&gt; &quot;parent_id&quot;
 
   create_table &quot;ministry_campuses&quot;, :force =&gt; true do |t|
     t.integer &quot;ministry_id&quot;
     t.integer &quot;campus_id&quot;
   end
 
+  add_index &quot;ministry_campuses&quot;, [&quot;campus_id&quot;], :name =&gt; &quot;campus_id&quot;
   add_index &quot;ministry_campuses&quot;, [&quot;ministry_id&quot;, &quot;campus_id&quot;], :name =&gt; &quot;index_ministry_campuses_on_ministry_id_and_campus_id&quot;, :unique =&gt; true
 
   create_table &quot;ministry_involvements&quot;, :force =&gt; true do |t|
@@ -314,7 +395,7 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
     t.integer &quot;responsible_person_id&quot;
   end
 
-  add_index &quot;ministry_involvements&quot;, [&quot;person_id&quot;], :name =&gt; &quot;index_ministry_involvements_on_person_id&quot;
+  add_index &quot;ministry_involvements&quot;, [&quot;person_id&quot;], :name =&gt; &quot;person_id&quot;
 
   create_table &quot;ministry_role_permissions&quot;, :force =&gt; true do |t|
     t.integer &quot;permission_id&quot;
@@ -332,8 +413,6 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
     t.boolean &quot;involved&quot;
   end
 
-  add_index &quot;ministry_roles&quot;, [&quot;ministry_id&quot;], :name =&gt; &quot;index_ministry_roles_on_ministry_id&quot;
-
   create_table &quot;people&quot;, :force =&gt; true do |t|
     t.integer &quot;user_id&quot;
     t.string  &quot;first_name&quot;
@@ -351,9 +430,10 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
     t.string  &quot;image&quot;
     t.date    &quot;created_at&quot;
     t.date    &quot;updated_at&quot;
+    t.integer &quot;old_id&quot;
     t.string  &quot;staff_notes&quot;
-    t.integer &quot;updated_by&quot;
-    t.integer &quot;created_by&quot;
+    t.string  &quot;updated_by&quot;,                    :limit =&gt; 11
+    t.string  &quot;created_by&quot;,                    :limit =&gt; 11
     t.string  &quot;url&quot;,                           :limit =&gt; 2000
     t.integer &quot;primary_campus_involvement_id&quot;
     t.integer &quot;mentor_id&quot;
@@ -362,7 +442,7 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
   add_index &quot;people&quot;, [&quot;first_name&quot;], :name =&gt; &quot;index_people_on_first_name&quot;
   add_index &quot;people&quot;, [&quot;last_name&quot;, &quot;first_name&quot;], :name =&gt; &quot;index_people_on_last_name_and_first_name&quot;
   add_index &quot;people&quot;, [&quot;major&quot;, &quot;minor&quot;], :name =&gt; &quot;index_people_on_major_and_minor&quot;
-  add_index &quot;people&quot;, [&quot;user_id&quot;], :name =&gt; &quot;index_people_on_user_id&quot;, :unique =&gt; true
+  add_index &quot;people&quot;, [&quot;user_id&quot;], :name =&gt; &quot;user_id&quot;
 
   create_table &quot;permissions&quot;, :force =&gt; true do |t|
     t.string &quot;description&quot;, :limit =&gt; 1000
@@ -419,40 +499,381 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
     t.date    &quot;created_at&quot;
   end
 
-  add_index &quot;staff&quot;, [&quot;ministry_id&quot;], :name =&gt; &quot;index_staff_on_ministry_id&quot;
-
   create_table &quot;states&quot;, :force =&gt; true do |t|
     t.string   &quot;name&quot;
     t.string   &quot;abbreviation&quot;
     t.datetime &quot;created_at&quot;
     t.datetime &quot;updated_at&quot;
+    t.string   &quot;country_code&quot;, :limit =&gt; 11
   end
 
   create_table &quot;stint_applications&quot;, :force =&gt; true do |t|
-    t.integer  &quot;stint_location_id&quot;
-    t.integer  &quot;person_id&quot;
-    t.datetime &quot;created_at&quot;
-    t.datetime &quot;updated_at&quot;
-  end
+    t.integer  &quot;oldApplicationID&quot;
+    t.integer  &quot;locationA&quot;
+    t.string   &quot;locationAExplanation&quot;,                    :limit =&gt; 90
+    t.integer  &quot;locationB&quot;
+    t.string   &quot;locationBExplanation&quot;,                    :limit =&gt; 90
+    t.integer  &quot;locationC&quot;
+    t.string   &quot;locationCExplanation&quot;,                    :limit =&gt; 90
+    t.string   &quot;availableMonth&quot;,                          :limit =&gt; 2
+    t.string   &quot;availableYear&quot;,                           :limit =&gt; 4
+    t.integer  &quot;hasMinistryConflict&quot;
+    t.text     &quot;ministryConflictExplanation&quot;,             :limit =&gt; 2147483647
+    t.integer  &quot;hasSpecificLocation&quot;
+    t.string   &quot;specificLocationRecruiterName&quot;,           :limit =&gt; 50
+    t.text     &quot;teamMembers&quot;,                             :limit =&gt; 2147483647
+    t.integer  &quot;isDating&quot;
+    t.text     &quot;datingLocation&quot;,                          :limit =&gt; 2147483647
+    t.integer  &quot;hasCampusPartnership&quot;
+    t.integer  &quot;isDatingStint&quot;
+    t.text     &quot;datingStintName&quot;,                         :limit =&gt; 2147483647
+    t.string   &quot;language1&quot;,                               :limit =&gt; 50
+    t.string   &quot;language1YearsStudied&quot;,                   :limit =&gt; 20
+    t.integer  &quot;language1Fluency&quot;
+    t.string   &quot;language2&quot;,                               :limit =&gt; 50
+    t.string   &quot;language2YearsStudied&quot;,                   :limit =&gt; 20
+    t.integer  &quot;language2Fluency&quot;
+    t.text     &quot;previousMinistryExperience&quot;,              :limit =&gt; 2147483647
+    t.text     &quot;ministryTraining&quot;,                        :limit =&gt; 2147483647
+    t.text     &quot;evangelismAttitude&quot;,                      :limit =&gt; 2147483647
+    t.integer  &quot;isEvangelismTrainable&quot;
+    t.text     &quot;participationExplanation&quot;,                :limit =&gt; 2147483647
+    t.integer  &quot;isFamiliarFourSpiritualLaws&quot;
+    t.integer  &quot;hasExperienceFourSpiritualLaws&quot;
+    t.integer  &quot;confidenceFourSpiritualLaws&quot;
+    t.integer  &quot;isFamiliarLifeAtLarge&quot;
+    t.integer  &quot;hasExperienceLifeAtLarge&quot;
+    t.integer  &quot;confidenceLifeAtLarge&quot;
+    t.integer  &quot;isFamiliarPersonalTestimony&quot;
+    t.integer  &quot;hasExperiencePersonalTestimony&quot;
+    t.integer  &quot;confidencePersonalTestimony&quot;
+    t.integer  &quot;isFamiliarExplainingGospel&quot;
+    t.integer  &quot;hasExperienceExplainingGospel&quot;
+    t.integer  &quot;confidenceExplainingGospel&quot;
+    t.integer  &quot;isFamiliarSharingFaith&quot;
+    t.integer  &quot;hasExperienceSharingFaith&quot;
+    t.integer  &quot;confidenceSharingFaith&quot;
+    t.integer  &quot;isFamiliarHolySpiritBooklet&quot;
+    t.integer  &quot;hasExperienceHolySpiritBooklet&quot;
+    t.integer  &quot;confidenceHolySpiritBooklet&quot;
+    t.integer  &quot;isFamiliarFollowUp&quot;
+    t.integer  &quot;hasExperienceFollowUp&quot;
+    t.integer  &quot;confidenceFollowUp&quot;
+    t.integer  &quot;isFamiliarHelpGrowInFaith&quot;
+    t.integer  &quot;hasExperienceHelpGrowInFaith&quot;
+    t.integer  &quot;confidenceHelpGrowInFaith&quot;
+    t.integer  &quot;isFamiliarTrainShareFaith&quot;
+    t.integer  &quot;hasExperienceTrainShareFaith&quot;
+    t.integer  &quot;confidenceTrainShareFaith&quot;
+    t.integer  &quot;isFamiliarOtherReligions&quot;
+    t.integer  &quot;hasExperienceOtherReligions&quot;
+    t.integer  &quot;confidenceOtherReligions&quot;
+    t.text     &quot;leadershipPositions&quot;,                     :limit =&gt; 2147483647
+    t.integer  &quot;hasLedDiscipleshipGroup&quot;
+    t.string   &quot;discipleshipGroupSize&quot;,                   :limit =&gt; 50
+    t.text     &quot;leadershipEvaluation&quot;,                    :limit =&gt; 2147483647
+    t.integer  &quot;conversionMonth&quot;
+    t.integer  &quot;conversionYear&quot;
+    t.string   &quot;memberChurchDenomination&quot;,                :limit =&gt; 75
+    t.string   &quot;memberChurchDuration&quot;,                    :limit =&gt; 50
+    t.string   &quot;attendingChurchDenomination&quot;,             :limit =&gt; 50
+    t.string   &quot;attendingChurchDuration&quot;,                 :limit =&gt; 50
+    t.text     &quot;attendingChurchInvolvement&quot;,              :limit =&gt; 2147483647
+    t.text     &quot;quietTimeQuantity&quot;,                       :limit =&gt; 2147483647
+    t.text     &quot;quietTimeDescription&quot;,                    :limit =&gt; 2147483647
+    t.text     &quot;explanationOfSalvation&quot;,                  :limit =&gt; 2147483647
+    t.text     &quot;explanationOfSpiritFilled&quot;,               :limit =&gt; 2147483647
+    t.integer  &quot;hasInvolvementSpeakingTongues&quot;
+    t.text     &quot;differenceIndwellingFilled&quot;,              :limit =&gt; 2147483647
+    t.integer  &quot;hasCrimeConviction&quot;
+    t.text     &quot;crimeConvictionExplanation&quot;,              :limit =&gt; 2147483647
+    t.integer  &quot;hasDrugUse&quot;
+    t.integer  &quot;isTobaccoUser&quot;
+    t.integer  &quot;isWillingChangeHabits&quot;
+    t.text     &quot;authorityResponseExplanation&quot;,            :limit =&gt; 2147483647
+    t.text     &quot;alcoholUseFrequency&quot;,                     :limit =&gt; 2147483647
+    t.text     &quot;alcoholUseDecision&quot;,                      :limit =&gt; 2147483647
+    t.integer  &quot;isWillingRefrainAlcohol&quot;
+    t.text     &quot;unwillingRefrainAlcoholExplanation&quot;,      :limit =&gt; 2147483647
+    t.text     &quot;drugUseExplanation&quot;,                      :limit =&gt; 2147483647
+    t.text     &quot;tobaccoUseExplanation&quot;,                   :limit =&gt; 2147483647
+    t.integer  &quot;isWillingAbstainTobacco&quot;
+    t.integer  &quot;hasRequestedPhoneCall&quot;
+    t.string   &quot;contactPhoneNumber&quot;,                      :limit =&gt; 50
+    t.string   &quot;contactBestTime&quot;,                         :limit =&gt; 50
+    t.string   &quot;contactTimeZone&quot;,                         :limit =&gt; 50
+    t.text     &quot;sexualInvolvementExplanation&quot;,            :limit =&gt; 2147483647
+    t.integer  &quot;hasSexualGuidelines&quot;
+    t.text     &quot;sexualGuidelineExplanation&quot;,              :limit =&gt; 2147483647
+    t.integer  &quot;isCurrentlyDating&quot;
+    t.text     &quot;currentlyDatingLocation&quot;,                 :limit =&gt; 2147483647
+    t.integer  &quot;hasHomosexualInvolvement&quot;
+    t.text     &quot;homosexualInvolvementExplanation&quot;,        :limit =&gt; 2147483647
+    t.integer  &quot;hasRecentPornographicInvolvement&quot;
+    t.integer  &quot;pornographicInvolvementMonth&quot;
+    t.integer  &quot;pornographicInvolvementYear&quot;
+    t.text     &quot;pornographicInvolvementExplanation&quot;,      :limit =&gt; 2147483647
+    t.integer  &quot;hasRecentSexualImmorality&quot;
+    t.integer  &quot;sexualImmoralityMonth&quot;
+    t.integer  &quot;sexualImmoralityYear&quot;
+    t.text     &quot;sexualImmoralityExplanation&quot;,             :limit =&gt; 2147483647
+    t.integer  &quot;hasOtherDateSinceImmorality&quot;
+    t.text     &quot;singleImmoralityResultsExplanation&quot;,      :limit =&gt; 2147483647
+    t.text     &quot;marriedImmoralityResultsExplanation&quot;,     :limit =&gt; 2147483647
+    t.text     &quot;immoralityLifeChangeExplanation&quot;,         :limit =&gt; 2147483647
+    t.text     &quot;immoralityCurrentStrugglesExplanation&quot;,   :limit =&gt; 2147483647
+    t.text     &quot;additionalMoralComments&quot;,                 :limit =&gt; 2147483647
+    t.integer  &quot;isAwareMustRaiseSupport&quot;
+    t.integer  &quot;isInDebt&quot;
+    t.string   &quot;debtNature1&quot;,                             :limit =&gt; 50
+    t.string   &quot;debtTotal1&quot;,                              :limit =&gt; 50
+    t.string   &quot;debtMonthlyPayment1&quot;,                     :limit =&gt; 50
+    t.string   &quot;debtNature2&quot;,                             :limit =&gt; 50
+    t.string   &quot;debtTotal2&quot;,                              :limit =&gt; 50
+    t.string   &quot;debtMonthlyPayment2&quot;,                     :limit =&gt; 50
+    t.string   &quot;debtNature3&quot;,                             :limit =&gt; 50
+    t.string   &quot;debtTotal3&quot;,                              :limit =&gt; 50
+    t.string   &quot;debtMonthlyPayment3&quot;,                     :limit =&gt; 50
+    t.integer  &quot;hasOtherFinancialResponsibility&quot;
+    t.text     &quot;otherFinancialResponsibilityExplanation&quot;, :limit =&gt; 2147483647
+    t.text     &quot;debtPaymentPlan&quot;,                         :limit =&gt; 2147483647
+    t.text     &quot;debtPaymentTimeframe&quot;,                    :limit =&gt; 2147483647
+    t.text     &quot;developingPartnersExplanation&quot;,           :limit =&gt; 2147483647
+    t.integer  &quot;isWillingDevelopPartners&quot;
+    t.text     &quot;unwillingDevelopPartnersExplanation&quot;,     :limit =&gt; 2147483647
+    t.integer  &quot;isCommittedDevelopPartners&quot;
+    t.text     &quot;uncommittedDevelopPartnersExplanation&quot;,   :limit =&gt; 2147483647
+    t.text     &quot;personalTestimonyGrowth&quot;,                 :limit =&gt; 2147483647
+    t.text     &quot;internshipParticipationExplanation&quot;,      :limit =&gt; 2147483647
+    t.text     &quot;internshipObjectives&quot;,                    :limit =&gt; 2147483647
+    t.text     &quot;currentMinistryDescription&quot;,              :limit =&gt; 2147483647
+    t.text     &quot;personalStrengthA&quot;,                       :limit =&gt; 2147483647
+    t.text     &quot;personalStrengthB&quot;,                       :limit =&gt; 2147483647
+    t.text     &quot;personalStrengthC&quot;,                       :limit =&gt; 2147483647
+    t.text     &quot;personalDevelopmentA&quot;,                    :limit =&gt; 2147483647
+    t.text     &quot;personalDevelopmentB&quot;,                    :limit =&gt; 2147483647
+    t.text     &quot;personalDevelopmentC&quot;,                    :limit =&gt; 2147483647
+    t.text     &quot;personalDescriptionA&quot;,                    :limit =&gt; 2147483647
+    t.text     &quot;personalDescriptionB&quot;,                    :limit =&gt; 2147483647
+    t.text     &quot;personalDescriptionC&quot;,                    :limit =&gt; 2147483647
+    t.text     &quot;familyRelationshipDescription&quot;,           :limit =&gt; 2147483647
+    t.string   &quot;electronicSignature&quot;,                     :limit =&gt; 90
+    t.string   &quot;ssn&quot;,                                     :limit =&gt; 50
+    t.integer  &quot;fk_ssmUserID&quot;
+    t.integer  &quot;person_id&quot;,                                                                                    :null =&gt; false
+    t.boolean  &quot;isPaid&quot;
+    t.integer  &quot;appFee&quot;,                                  :limit =&gt; 18,         :precision =&gt; 18, :scale =&gt; 0
+    t.datetime &quot;dateAppLastChanged&quot;
+    t.datetime &quot;dateAppStarted&quot;
+    t.datetime &quot;dateSubmitted&quot;
+    t.boolean  &quot;isSubmitted&quot;
+    t.string   &quot;appStatus&quot;,                               :limit =&gt; 15
+    t.integer  &quot;assignedToProject&quot;
+    t.integer  &quot;stint_location_id&quot;,                       :limit =&gt; 10,         :precision =&gt; 10, :scale =&gt; 0
+    t.string   &quot;siYear&quot;,                                  :limit =&gt; 50
+    t.datetime &quot;submitDate&quot;
+    t.string   &quot;status&quot;,                                  :limit =&gt; 22
+    t.string   &quot;appType&quot;,                                 :limit =&gt; 64
+    t.integer  &quot;apply_id&quot;
+  end
+
+  add_index &quot;stint_applications&quot;, [&quot;oldApplicationID&quot;], :name =&gt; &quot;oldApplicationID&quot;
+  add_index &quot;stint_applications&quot;, [&quot;person_id&quot;], :name =&gt; &quot;fk_PersonID&quot;
 
   create_table &quot;stint_locations&quot;, :force =&gt; true do |t|
     t.string   &quot;name&quot;
-    t.datetime &quot;created_at&quot;
-    t.datetime &quot;updated_at&quot;
+    t.string   &quot;partnershipRegion&quot;,             :limit =&gt; 50
+    t.string   &quot;history&quot;,                       :limit =&gt; 8000
+    t.string   &quot;city&quot;
+    t.string   &quot;country&quot;
+    t.string   &quot;details&quot;,                       :limit =&gt; 8000
+    t.string   &quot;status&quot;
+    t.string   &quot;destinationGatewayCity&quot;
+    t.datetime &quot;departDateFromGateCity&quot;
+    t.datetime &quot;arrivalDateAtLocation&quot;
+    t.string   &quot;locationGatewayCity&quot;
+    t.datetime &quot;departDateFromLocation&quot;
+    t.datetime &quot;arrivalDateAtGatewayCity&quot;
+    t.integer  &quot;flightBudget&quot;
+    t.string   &quot;gatewayCitytoLocationFlightNo&quot;
+    t.string   &quot;locationToGatewayCityFlightNo&quot;
+    t.string   &quot;inCountryContact&quot;
+    t.string   &quot;scholarshipAccountNo&quot;
+    t.string   &quot;operatingAccountNo&quot;
+    t.string   &quot;AOA&quot;
+    t.string   &quot;MPTA&quot;
+    t.integer  &quot;staffCost&quot;
+    t.integer  &quot;studentCost&quot;
+    t.text     &quot;studentCostExplaination&quot;
+    t.boolean  &quot;insuranceFormsReceived&quot;
+    t.boolean  &quot;CAPSFeePaid&quot;
+    t.boolean  &quot;adminFeePaid&quot;
+    t.string   &quot;storiesXX&quot;
+    t.string   &quot;stats&quot;
+    t.boolean  &quot;secure&quot;
+    t.boolean  &quot;projEvalCompleted&quot;
+    t.integer  &quot;evangelisticExposures&quot;
+    t.integer  &quot;receivedChrist&quot;
+    t.integer  &quot;jesusFilmExposures&quot;
+    t.integer  &quot;jesusFilmReveivedChrist&quot;
+    t.integer  &quot;coverageActivitiesExposures&quot;
+    t.integer  &quot;coverageActivitiesDecisions&quot;
+    t.integer  &quot;holySpiritDecisions&quot;
+    t.string   &quot;website&quot;
+    t.string   &quot;destinationAddress&quot;
+    t.string   &quot;destinationPhone&quot;
+    t.string   &quot;siYear&quot;
+    t.integer  &quot;fk_isCoord&quot;
+    t.integer  &quot;fk_isAPD&quot;
+    t.integer  &quot;fk_isPD&quot;
+    t.string   &quot;projectType&quot;,                   :limit =&gt; 1
+    t.datetime &quot;studentStartDate&quot;
+    t.datetime &quot;studentEndDate&quot;
+    t.datetime &quot;staffStartDate&quot;
+    t.datetime &quot;staffEndDate&quot;
+    t.datetime &quot;leadershipStartDate&quot;
+    t.datetime &quot;leadershipEndDate&quot;
+    t.datetime &quot;createDate&quot;
+    t.binary   &quot;lastChangedDate&quot;,               :limit =&gt; 8
+    t.integer  &quot;lastChangedBy&quot;
+    t.string   &quot;displayLocation&quot;
+    t.boolean  &quot;partnershipRegionOnly&quot;
+    t.integer  &quot;internCost&quot;
+    t.boolean  &quot;onHold&quot;
+    t.integer  &quot;maxNoStaffPMale&quot;
+    t.integer  &quot;maxNoStaffPFemale&quot;
+    t.integer  &quot;maxNoStaffPCouples&quot;
+    t.integer  &quot;maxNoStaffPFamilies&quot;
+    t.integer  &quot;maxNoStaffP&quot;
+    t.integer  &quot;maxNoInternAMale&quot;
+    t.integer  &quot;maxNoInternAFemale&quot;
+    t.integer  &quot;maxNoInternACouples&quot;
+    t.integer  &quot;maxNoInternAFamilies&quot;
+    t.integer  &quot;maxNoInternA&quot;
+    t.integer  &quot;maxNoInternPMale&quot;
+    t.integer  &quot;maxNoInternPFemale&quot;
+    t.integer  &quot;maxNoInternPCouples&quot;
+    t.integer  &quot;maxNoInternPFamilies&quot;
+    t.integer  &quot;maxNoInternP&quot;
+    t.integer  &quot;maxNoStudentAMale&quot;
+    t.integer  &quot;maxNoStudentAFemale&quot;
+    t.integer  &quot;maxNoStudentACouples&quot;
+    t.integer  &quot;maxNoStudentAFamilies&quot;
+    t.integer  &quot;maxNoStudentA&quot;
+    t.integer  &quot;maxNoStudentPMale&quot;
+    t.integer  &quot;maxNoStudentPFemale&quot;
+    t.integer  &quot;maxNoStudentPCouples&quot;
+    t.integer  &quot;maxNoStudentPFamilies&quot;
+    t.integer  &quot;maxNoStudentP&quot;
   end
 
   create_table &quot;summer_project_applications&quot;, :force =&gt; true do |t|
-    t.integer  &quot;summer_project_id&quot;
     t.integer  &quot;person_id&quot;
-    t.string   &quot;status&quot;
+    t.integer  &quot;summer_project_id&quot;
+    t.integer  &quot;designation_number&quot;
+    t.integer  &quot;year&quot;
+    t.string   &quot;status&quot;,                   :limit =&gt; 50
+    t.integer  &quot;preference1_id&quot;
+    t.integer  &quot;preference2_id&quot;
+    t.integer  &quot;preference3_id&quot;
+    t.integer  &quot;preference4_id&quot;
+    t.integer  &quot;preference5_id&quot;
+    t.integer  &quot;current_project_queue_id&quot;
+    t.datetime &quot;submitted_at&quot;
+    t.datetime &quot;completed_at&quot;
     t.datetime &quot;created_at&quot;
     t.datetime &quot;updated_at&quot;
+    t.integer  &quot;created_by_id&quot;
+    t.integer  &quot;updated_by_id&quot;
+    t.integer  &quot;old_id&quot;
+    t.boolean  &quot;apply_for_leadership&quot;
+    t.datetime &quot;withdrawn_at&quot;
+    t.string   &quot;su_code&quot;
+    t.boolean  &quot;applicant_notified&quot;
+    t.integer  &quot;account_balance&quot;
+    t.datetime &quot;accepted_at&quot;
   end
 
+  add_index &quot;summer_project_applications&quot;, [&quot;person_id&quot;], :name =&gt; &quot;index_sp_applications_on_person_id&quot;
+  add_index &quot;summer_project_applications&quot;, [&quot;year&quot;], :name =&gt; &quot;index_sp_applications_on_year&quot;
+
   create_table &quot;summer_projects&quot;, :force =&gt; true do |t|
-    t.string   &quot;name&quot;
+    t.integer  &quot;pd_id&quot;
+    t.integer  &quot;apd_id&quot;
+    t.integer  &quot;opd_id&quot;
+    t.string   &quot;name&quot;,                         :limit =&gt; 50
+    t.string   &quot;city&quot;,                         :limit =&gt; 50
+    t.string   &quot;state&quot;,                        :limit =&gt; 50
+    t.string   &quot;country&quot;,                      :limit =&gt; 60
+    t.string   &quot;aoa&quot;,                          :limit =&gt; 50
+    t.string   &quot;display_location&quot;,             :limit =&gt; 100
+    t.string   &quot;primary_partner&quot;,              :limit =&gt; 100
+    t.string   &quot;secondary_partner&quot;,            :limit =&gt; 100
+    t.boolean  &quot;partner_region_only&quot;
+    t.string   &quot;report_stats_to&quot;,              :limit =&gt; 50
+    t.datetime &quot;start_date&quot;
+    t.datetime &quot;end_date&quot;
+    t.integer  &quot;weeks&quot;
+    t.integer  &quot;primary_ministry_focus_id&quot;
+    t.boolean  &quot;job&quot;
+    t.text     &quot;description&quot;
+    t.string   &quot;operating_business_unit&quot;,      :limit =&gt; 50
+    t.string   &quot;operating_operating_unit&quot;,     :limit =&gt; 50
+    t.string   &quot;operating_department&quot;,         :limit =&gt; 50
+    t.string   &quot;operating_project&quot;,            :limit =&gt; 50
+    t.string   &quot;operating_designation&quot;,        :limit =&gt; 50
+    t.string   &quot;scholarship_business_unit&quot;,    :limit =&gt; 50
+    t.string   &quot;scholarship_operating_unit&quot;,   :limit =&gt; 50
+    t.string   &quot;scholarship_department&quot;,       :limit =&gt; 50
+    t.string   &quot;scholarship_project&quot;,          :limit =&gt; 50
+    t.string   &quot;scholarship_designation&quot;,      :limit =&gt; 50
+    t.integer  &quot;staff_cost&quot;
+    t.integer  &quot;intern_cost&quot;
+    t.integer  &quot;student_cost&quot;
+    t.string   &quot;departure_city&quot;,               :limit =&gt; 60
+    t.datetime &quot;date_of_departure&quot;
+    t.string   &quot;destination_city&quot;,             :limit =&gt; 60
+    t.datetime &quot;date_of_return&quot;
+    t.text     &quot;in_country_contact&quot;
+    t.string   &quot;project_contact_name&quot;,         :limit =&gt; 50
+    t.string   &quot;project_contact_role&quot;,         :limit =&gt; 40
+    t.string   &quot;project_contact_phone&quot;,        :limit =&gt; 20
+    t.string   &quot;project_contact_email&quot;,        :limit =&gt; 100
+    t.integer  &quot;max_student_men_applicants&quot;,                   :default =&gt; 0,    :null =&gt; false
+    t.integer  &quot;max_student_women_applicants&quot;,                 :default =&gt; 0,    :null =&gt; false
+    t.integer  &quot;housing_capacity_men&quot;
+    t.integer  &quot;housing_capacity_women&quot;
+    t.integer  &quot;ideal_staff_men&quot;,                              :default =&gt; 0,    :null =&gt; false
+    t.integer  &quot;ideal_staff_women&quot;,                            :default =&gt; 0,    :null =&gt; false
     t.datetime &quot;created_at&quot;
     t.datetime &quot;updated_at&quot;
+    t.integer  &quot;created_by_id&quot;
+    t.integer  &quot;updated_by_id&quot;
+    t.integer  &quot;current_students_men&quot;,                         :default =&gt; 0
+    t.integer  &quot;current_students_women&quot;,                       :default =&gt; 0
+    t.integer  &quot;current_applicants_men&quot;,                       :default =&gt; 0
+    t.integer  &quot;current_applicants_women&quot;,                     :default =&gt; 0
+    t.integer  &quot;year&quot;
+    t.integer  &quot;coordinator_id&quot;
+    t.integer  &quot;old_id&quot;
+    t.string   &quot;project_status&quot;
+    t.float    &quot;latitude&quot;
+    t.float    &quot;longitude&quot;
+    t.string   &quot;url&quot;,                          :limit =&gt; 1024
+    t.string   &quot;url_title&quot;
+    t.string   &quot;ds_project_code&quot;,              :limit =&gt; 50
+    t.boolean  &quot;show_on_website&quot;,                              :default =&gt; true
+    t.datetime &quot;apply_by_date&quot;
+    t.integer  &quot;version&quot;
+    t.boolean  &quot;use_provided_application&quot;,                     :default =&gt; true
+  end
+
+  add_index &quot;summer_projects&quot;, [&quot;name&quot;], :name =&gt; &quot;sp_projects_name_index&quot;, :unique =&gt; true
+  add_index &quot;summer_projects&quot;, [&quot;primary_partner&quot;], :name =&gt; &quot;primary_partner&quot;
+  add_index &quot;summer_projects&quot;, [&quot;secondary_partner&quot;], :name =&gt; &quot;secondary_partner&quot;
+
+  create_table &quot;test_table&quot;, :id =&gt; false, :force =&gt; true do |t|
+    t.integer &quot;test_id&quot;
   end
 
   create_table &quot;timetables&quot;, :force =&gt; true do |t|
@@ -495,19 +916,19 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
   end
 
   create_table &quot;users&quot;, :force =&gt; true do |t|
-    t.string   &quot;username&quot;
-    t.string   &quot;password&quot;
-    t.datetime &quot;last_login&quot;
-    t.boolean  &quot;system_admin&quot;
-    t.string   &quot;remember_token&quot;
-    t.datetime &quot;remember_token_expires_at&quot;
-    t.datetime &quot;created_at&quot;
-    t.datetime &quot;updated_at&quot;
-    t.string   &quot;guid&quot;
-    t.boolean  &quot;email_validated&quot;
-    t.boolean  &quot;developer&quot;
-    t.string   &quot;facebook_hash&quot;
-    t.string   &quot;facebook_username&quot;
+    t.string    &quot;username&quot;
+    t.string    &quot;password&quot;
+    t.date      &quot;last_login&quot;
+    t.boolean   &quot;system_admin&quot;
+    t.string    &quot;remember_token&quot;
+    t.timestamp &quot;remember_token_expires_at&quot;
+    t.timestamp &quot;created_at&quot;
+    t.timestamp &quot;updated_at&quot;
+    t.string    &quot;guid&quot;
+    t.boolean   &quot;email_validated&quot;
+    t.boolean   &quot;developer&quot;
+    t.string    &quot;facebook_hash&quot;
+    t.string    &quot;facebook_username&quot;
   end
 
   add_index &quot;users&quot;, [&quot;guid&quot;], :name =&gt; &quot;index_users_on_guid&quot;, :unique =&gt; true
@@ -520,7 +941,7 @@ ActiveRecord::Schema.define(:version =&gt; 20091012000730) do
     t.datetime &quot;updated_at&quot;
   end
 
-  add_index &quot;view_columns&quot;, [&quot;column_id&quot;, &quot;view_id&quot;], :name =&gt; &quot;view_columns_column_id&quot;
+  add_index &quot;view_columns&quot;, [&quot;column_id&quot;, &quot;view_id&quot;], :name =&gt; &quot;index_view_columns_on_column_id_and_view_id&quot;
   add_index &quot;view_columns&quot;, [&quot;view_id&quot;], :name =&gt; &quot;index_view_columns_on_view_id&quot;
 
   create_table &quot;views&quot;, :force =&gt; true do |t|</diff>
      <filename>db/schema.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>86a82aa48cfd340541b8600dcb934fb7ef2d5d2a</id>
    </parent>
  </parents>
  <author>
    <name>Josh Starcher</name>
    <email>josh@josh-starchers-mac-pro.local</email>
  </author>
  <url>http://github.com/twinge/ministry-tracker/commit/63e717e71cb85ea4b06d02f76348bfd6d7a8f360</url>
  <id>63e717e71cb85ea4b06d02f76348bfd6d7a8f360</id>
  <committed-date>2009-10-15T19:25:40-07:00</committed-date>
  <authored-date>2009-10-15T19:25:40-07:00</authored-date>
  <message>order the involved roles by position</message>
  <tree>a92abd85688a98acc180ca8df8175d9f7854e9ce</tree>
  <committer>
    <name>Josh Starcher</name>
    <email>josh@josh-starchers-mac-pro.local</email>
  </committer>
</commit>
