Skip to content

Commit 946cdca

Browse files
committed
Merged mongoid changes and the updated db schema
2 parents 5be30dc + d312e6b commit 946cdca

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

config/mongoid.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
development:
22
sessions:
33
default:
4-
database: heroku_app2303161
4+
database: <%= ENV['MONGO_DATABASE'] || 'badgify_development' %>
55
hosts:
66
- <%= ENV['MONGO_URL'] || 'localhost:27017' %>
77

db/schema.rb

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,8 @@
398398
t.text "organization_way"
399399
t.text "organization_way_name"
400400
t.text "organization_way_photo"
401+
t.string "office_photos", :default => "{}"
402+
t.string "upcoming_events", :default => "{}"
401403
t.string "featured_links_title"
402404
t.text "blog_feed"
403405
t.text "our_challenge"
@@ -407,6 +409,14 @@
407409
t.string "avatar"
408410
t.integer "achievement_count", :default => 0
409411
t.integer "endorsement_count", :default => 0
412+
t.string "interview_steps", :default => "{}"
413+
t.text "hiring_tagline"
414+
t.text "link_to_careers_page"
415+
t.string "avatar"
416+
t.integer "achievement_count", :default => 0
417+
t.integer "endorsement_count", :default => 0
418+
t.string "invited_emails", :default => "{}"
419+
t.string "pending_join_requests", :default => "{}"
410420
t.datetime "upgraded_at"
411421
t.integer "paid_job_posts", :default => 0
412422
t.boolean "monthly_subscription", :default => false

0 commit comments

Comments
 (0)