Skip to main content

Rocket.Chat DB schema

_raix_push_notifications
avatars.chunks
avatars.files
instances
meteor_accounts_loginServiceConfiguration
meteor_oauth_pendingCredentials
meteor_oauth_pendingRequestTokens
migrations
rocketchat__trash
rocketchat_cron_history
rocketchat_custom_emoji
rocketchat_custom_sounds
rocketchat_import
rocketchat_integration_history
rocketchat_integrations
rocketchat_livechat_custom_field
rocketchat_livechat_department
rocketchat_livechat_department_agents
rocketchat_livechat_external_message
rocketchat_livechat_inquiry
rocketchat_livechat_office_hour
rocketchat_livechat_page_visited
rocketchat_livechat_trigger
rocketchat_message
rocketchat_oauth_apps
rocketchat_oembed_cache
rocketchat_permissions
rocketchat_raw_imports
rocketchat_reports
rocketchat_roles
rocketchat_room
rocketchat_settings
rocketchat_smarsh_history
rocketchat_statistics
rocketchat_subscription
rocketchat_uploads
system.indexes
users
usersSessions

https://rocket.chat/docs/developer-guides/schema-definition

Rooms

{
  "_id": "22nytdn4QqKvSk2Av",              // Random.id()
  "t": "p",                                // String           Room Type: c = chanel, d = direct, p (change to g) = group, v = visitor
  "ts": new Date(1432937851208),           // Date             Room Creation Timestamp
  "name": "general",                       // String           Room Name (t:d -> empty)
  "lm": new Date(1432937851208),           // Date             Last Message Timestamp
  "msgs": 2345,                            // Integer          Messages Counter
  "cl": true,                              // Boolean          If users can leave room
  "ro": false,                             // Boolean          Read Only
  "usernames": [                           // Array(String)    Room Users
      "username1",                         // String           User Username
      "username2",
      "username3"
  ],
  "u": {                                   // Object           Owner User
    "_id": "CABrXSHpDqbZXGkYR",            // Random.id()      User Id
    "username": "john"                     // String           User Username
  }
}

Fields Type Description
_id Random.id() Room Id
t String Room Type
ts Date Room Creation Timestamp
name String Room Name (t:d -> empty)
lm Date Last Message Timestamp
msgs Integer Messages Counter
cl Boolean If users can leave room
ro     Boolean Read Only
usernames Array[String] Room Users
usernames.0 String User Username
u Object Owner User
u._id Random.id() User Id
u.username String User Username

Rocketchat_message

{
 "_id" : "sjiKhSfcxLDr6wQBZ",
"t" : "uj",
"rid" : "GENERAL",
 "ts" : ISODate("2017-05-09T06:10:49.050Z"),
"msg" : "woody_island",
"u" : { "_id" : "HgB3DB25uwbL4BS2D", "username" : "woody_island" },
"groupable" : false,
"_updatedAt" : ISODate("2017-05-09T06:10:49.050Z")
}

Fields:                       Type                 Description
_id
t
rid
ts
msg
u
groupable
_updatedAt

Users

{
    "_id" : "HgB3DB25uwbL4BS2D",
    "createdAt" : ISODate("2017-05-09T05:48:42.400Z"),
    "services" : {
         "password" : {
               "bcrypt" : "$2a$10$tcIus/rFIp0I3opQgSshfeIjq0H9jT59Gr.vg/nnRGoNZHZcdpIAi"  
          },
     "email" : {
          "verificationTokens" : [ {
               "token" : "mgBoYoXriJuTKsfjylQld5PonmVADqb8LFxXA9Hx9FL",
               "address" : "woody@island.spratly",
               "when" : ISODate("2017-05-09T05:48:42.743Z")
          } ] },
     "resume" : {
          "loginTokens" : [ {
                "when" : ISODate("2017-05-09T05:48:43.341Z"),
                "hashedToken" : "fMzgS8mGkkTqaz5pKUfOvY5L+4jS+2jHkiMpNaHhXUM="
               },
               { "when" : ISODate("2017-05-09T06:10:30.114Z"),
                 "hashedToken" : "OrzsPddJRu04h0NTCzqDlv8UXCmtYMjZZwQ4VPw2Fxc="
               }
          ] }
     },
     "emails" : [ { "address" : "woody@island.spratly", "verified" : true } ],
     "type" : "user",
     "status" : "away",
     "active" : true,
     "name" : "woody",
     "_updatedAt" : ISODate("2017-05-09T06:24:09.172Z"),
     "roles" : [ "admin" ],
     "lastLogin" : ISODate("2017-05-09T06:10:30.082Z"),
     "statusConnection" : "away",
     "utcOffset" : -5,
     "username" : "woody_island"
}


Fields Type Description

Comments

  1. Thanks for sharing this wonderful stuff plz visit for more info DbSchema 8.2.10

    ReplyDelete
  2. Great set of tips from the master himself. Excellent ideas. Anyone wishing to take their blogging forward must read these tips. Thank you .DbSchema 8.3.0 Crack With Serial Key 2020 Free Full Here!

    ReplyDelete
  3. The Carob Bean Gum Market acknowledges CBG as a thickening and stabilizing ground cocoa powder, but it comprises less fat and calories than cocoa. CBG acts as a water carrying agent in frozen dairy food, dairy products, and sweet food. It helps to improve the taste and prevent the formation of ice crystals. Carob bean gum improves water binding capacity and stabilizes the freezing and melting properties of food products. Carob bean gum is found to have applications in the textile industry as a sizing agent which improves bonding characteristics between resin systems.

    ReplyDelete
  4. Thanks a lot for the blog its informative post and I appreciate you for it. We share our posts about Test Microphone Online . It is easy to use and free so please go to the link and check it out.

    ReplyDelete
  5. I am Irene Garcia, a Corporate Sales Specialist operating in the Latin American region. We are experts in Market Research (Mercado de Luces LED en Brasil). We provide market reports across various industry verticals and also help with procurement and supply chain intelligence. By giving you better insights, we help you make informed business decisions.

    ReplyDelete
  6. They are also focusing on cardboard packaging to improve the green credentials of their businesses, which, in turn, is escalating the demand for beverage carton packaging machinery worldwide. Moreover, fast speed, improved productivity, optimal product hygiene and reduced overall costs are other advantages contributing to the beverage carton packaging machinery market growth.
    https://www.imarcgroup.com/beverage-carton-packaging-machinery-market

    ReplyDelete
  7. Thank you for providing excellent information. I appreciate your kind words. We're looking forward to seeing your website. Also, check out the blog post about the best typing apps for learning how to type. You will find in this article the best top 6 typing apps. Check out this article and use one of them daily.

    ReplyDelete
  8. A fantastic piece of writing. Thanks a lot. There's a lot of useful information in this book. By sharing your expertise, you provided me with a great deal of useful information. Check out the very genuine site's latest blog as well. Tests of beats per minute are discussed in this blog. Visit the Count beat per minute blog for some great information.

    ReplyDelete
  9. This article is so good and inspiring. I have an article abouttwitch giveaway set up guide 2021. The simplest decisions that we make in a day-to-day life are yes or no ones. This type of article is interesting, so you should visit the website and read it. Thank you.

    ReplyDelete
  10. Quality posts are important to invite visitors to visit a web page, similar to what this web page offers.
    I also want to refer you to the latest posts related to Click mouse test - Mouse Buttons, Scroll, Drag and Click Mouse test online. For starters you can learn more about microphones here. See the article mouse click test and learn more.

    ReplyDelete

  11. Thanks for shearing this kind of information red

    ReplyDelete
  12. Studio 3T Crack
    Studio 3T 2022 Crack is the most suitable program for MongoDB database management tool that provides GUI display operations.

    ReplyDelete
  13. So nice I am enjoying for that post as for u latest version of this Security tool Available
    dbschema-crack

    ReplyDelete
  14. I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.
    Very interesting blog.
    getmacsoftware.com
    DBSchema Pro Crack

    ReplyDelete
  15. After looking through a few blog articles on your website,we sincerely appreciate the way you blogged.We’ve added it to our list of bookmarked web pages and will be checking back in the nearfuture. Please also visit my website and tell us what you think.Great work with hard work you have done I appreciate your work thanks for sharing it.
    Studio 3T Crack

    ReplyDelete
  16. I'm really impressed with your writing skills, as smart as the structure of your


    Latest Software Free Download



    weblog. Is this a paid topic



    Diskdigger crack



    do you change it yourself? However, stopping by with great quality writing, it's hard to see any good blog today.



    Program4pc audio convertercrack





    Diskdigger-crack





    Reimage pc reapir crack





    Wing ftp pro crack



    ReplyDelete
  17. I like your all post. You have done really good work. Thank you for the information you provide, it helped me a lot. I hope to have many more entries or so from you.
    Very interesting blog.
    Sonarworks Reference Crack
    Atomic Mail Sender Crack
    TweakNow PowerPack Crack
    Nevercenter Pixelmash Crack
    Sonarworks Reference Crack

    ReplyDelete
  18. I enjoyed reading your complete essay. I sincerely appreciate it. Visit this profile Refresh rate test,if you're unsure how to check your monitor's refresh rate. Very interesting stuff is shared in this profile.

    ReplyDelete
  19. Ein erfrischend differenzierter Artikel, der es wert ist, weithin geteilt zu werden. Sehen Sie sich diesen an und sehen Sie Klick Test, wie viele Klicks pro Sekunde Sie mit dem CPS-Tester erreichen können.

    ReplyDelete
  20. If you're searching for a cheap law dissertation service, Dissertation Help Services might be a great option. They offer affordable assistance with dissertations, helping you stay within budget while still delivering quality work.

    ReplyDelete

Post a Comment

Popular posts from this blog

AWS Elasticache Memcached connection

https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/accessing-elasticache.html#access-from-outside-aws http://hourlyapps.blogspot.com/2010/06/examples-of-memcached-commands.html Access memcached https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/GettingStarted.AuthorizeAccess.html Zip include hidden file https://stackoverflow.com/questions/12493206/zip-including-hidden-files phpmemcachedadmin ~ phpMyAdmin or phpPgAdmin ... telnet mycachecluster.eaogs8.0001.usw2.cache.amazonaws.com 11211 stats items stats cachedump 27 100 https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/VPCs.EC.html https://lzone.de/cheat-sheet/memcached VPC ID Security Group ID (sg-...) Cluster: The identifier for the cluster memcached1 Creation Time: The time (UTC) when the cluster was created January 9, 2019 at 11:47:16 AM UTC+7 Configuration Endpoint: The configuration endpoint of the cluster memcached1.ahgofe.cfg.usw1.cache.amazonaws.com:11211 St...

Notes Windows 10 Virtualbox config, PHP Storm Japanese, custom PHP, Apache build, Postgresql

 cmd => Ctrl + Shift + Enter mklink "C:\Users\HauNT\Videos\host3" "C:\Windows\System32\drivers\etc\hosts" https://www.quora.com/How-to-create-a-router-in-php https://serverfault.com/questions/225155/virtualbox-how-to-set-up-networking-so-both-host-and-guest-can-access-internet 1 NAT + 1 host only config https://unix.stackexchange.com/questions/115464/how-to-properly-set-up-2-network-interfaces-in-centos-running-in-virtualbox DEVICE=eth0 TYPE=Ethernet #BOOTPROTO=dhcp BOOTPROTO=none #IPADDR=10.9.11.246 #PREFIX=24 #GATEWAY=10.9.11.1 #IPV4_FAILURE_FATAL=yes #HWADDR=08:00:27:CC:AC:AC ONBOOT=yes NAME="System eth0" [root@localhost www]# cat /etc/sysconfig/network-scripts/ifcfg-eth1 # Advanced Micro Devices, Inc. [AMD] 79c970 [PCnet32 LANCE] DEVICE=eth1 IPADDR=192.168.56.28 <= no eff => auto like DHCP #GATEWAY=192.168.56.1 #BOOTPROTO=dhcp BOOTPROTO=static <= no eff ONBOOT=yes HWADDR=08:00:27:b4:20:10 [root@localhost www]# ...