app/models/dc_journal.rb in drg_cms-0.5.8 vs app/models/dc_journal.rb in drg_cms-0.5.8.2

- old
+ new

@@ -20,10 +20,23 @@ # OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION # WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #++ ######################################################################### -# Mongoid::Document model for dc_journals collection. +# == Schema information +# +# Collection name: dc_journal : Update journal +# +# _id BSON::ObjectId _id +# user_id BSON::ObjectId User +# site_id BSON::ObjectId Site +# doc_id BSON::ObjectId doc_id +# operation String Operation +# tables String Table name +# ids String Parent ids +# ip String ip address from where operation was performed +# time DateTime Time of operation +# diff String Differences # # dc_journals collections saves all data that has been updated through cmsedit # controller. It saves old and new values of changed fields and can be used for # instant restore of single document field or tracking who and when updated # particular document.