Skip to content
This repository was archived by the owner on May 20, 2021. It is now read-only.
This repository was archived by the owner on May 20, 2021. It is now read-only.

Create New DB Tables #46

@osilkin98

Description

@osilkin98

Database needs a new table to accommodate:

  • Pinning comments api endpoint to track latest comments with claim_id or claim URLs #29
    • one-to-many relation PINS: CLAIM -> COMMENT
  • Channel Blocking
    • one-to-many relation BLOCKS: CHANNEL -> CHANNEL
  • Storing information about claims, including public keys, addresses, stake amounts, etc.
    • CLAIM
      • type
      • stake_amount
      • address
      • claim_id
      • name
      • signing_channel
  • CHANNEL
    • public_key
    • signature
    • public_key_id
  • Requires making a table CLAIM which stores claim_type, signing_channel, stake_amount
  • Action history (e.g. channel x edits comment y at time z)
    • either loose relation on table CHANNEL or a many-to-many relation between CHANNEL & COMMENT
      • action (creates, deletes, updates, hides, pins, etc.)
      • timestamp (good for modification time, etc.)
      • signature (of the action)
      • comment_id (if there is one)
  • Messages
    • dunno if this will either be a modified signed version of COMMENT or if this should be its own entity entirely

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions