Add thread type feature
There are two thread types, discussion and question. Discussions have the same behavior that current threads do. When a question is returned from the API, it contains separate fields for its endorsed and non- endorsed entries. Co-authored-by: Jim Abramson <jsa@edx.org>
Showing
... | @@ -24,6 +24,7 @@ gem 'bson_ext' | ... | @@ -24,6 +24,7 @@ gem 'bson_ext' |
gem 'delayed_job' | gem 'delayed_job' | ||
gem 'delayed_job_mongoid', :git => 'https://github.com/dementrock/delayed_job_mongoid.git' | gem 'delayed_job_mongoid', :git => 'https://github.com/dementrock/delayed_job_mongoid.git' | ||
gem "enumerize", "~>0.8.0" | |||
gem 'mongoid-tree', :git => 'https://github.com/dementrock/mongoid-tree.git' | gem 'mongoid-tree', :git => 'https://github.com/dementrock/mongoid-tree.git' | ||
gem 'voteable_mongo', :git => 'https://github.com/dementrock/voteable_mongo.git' | gem 'voteable_mongo', :git => 'https://github.com/dementrock/voteable_mongo.git' | ||
gem 'mongoid_magic_counter_cache', :git => 'https://github.com/dementrock/mongoid-magic-counter-cache.git' | gem 'mongoid_magic_counter_cache', :git => 'https://github.com/dementrock/mongoid-magic-counter-cache.git' | ||
... | ... |
scripts/db/migrate-007-thread-type.js
0 → 100644
scripts/db/revert-migrate-007-thread-type.js
0 → 100644
Please
register
or
sign in
to comment