Added hosting page for confrence city residents

This commit is contained in:
Godwin
2016-06-05 08:01:14 -07:00
parent 633219b003
commit 2003028a15
12 changed files with 338 additions and 69 deletions
@@ -0,0 +1,5 @@
class AddCanProvideHousingToConferenceRegistrations < ActiveRecord::Migration
def change
add_column :conference_registrations, :can_provide_housing, :boolean
end
end
@@ -0,0 +1,5 @@
class AddHousingDataToConferenceRegistrations < ActiveRecord::Migration
def change
add_column :conference_registrations, :housing_data, :json
end
end
@@ -0,0 +1,5 @@
class AddLocaleToUsers < ActiveRecord::Migration
def change
add_column :users, :locale, :string
end
end
+4 -1
View File
@@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20160530175805) do
ActiveRecord::Schema.define(version: 20160604221432) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -83,6 +83,8 @@ ActiveRecord::Schema.define(version: 20160530175805) do
t.string "food"
t.string "highest_step"
t.json "steps_completed"
t.boolean "can_provide_housing"
t.json "housing_data"
end
create_table "conference_types", force: :cascade do |t|
@@ -321,6 +323,7 @@ ActiveRecord::Schema.define(version: 20160530175805) do
t.string "lastname"
t.boolean "is_translator"
t.json "languages"
t.string "locale"
end
add_index "users", ["activation_token"], name: "index_users_on_activation_token", using: :btree