Skip to content
This repository was archived by the owner on Jun 24, 2020. It is now read-only.
This repository was archived by the owner on Jun 24, 2020. It is now read-only.

How much information should we store? #1

@zackify

Description

@zackify

Take a look at https://github.com/reactiflux/archive-bot/tree/master/migrations We're looking to store the following info:

Users

id username real_name avatar
slack id zach Zach Silveira http://

Messages

Each channel will be based off the messages channel using postgres' partitioning

id channel_id user_id attachments text ts subtype hidden
1 slack channel id slack user id from user's table json field with attachment info message text slack's timestamp message false

Channels
Info about each channel

id channel_id name description is_archived
1 slack channel id general discuss react false

How's this look so far? What do we need to add / change? @benigeri @tappleby

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions