Skip to content

Create new delivery target - Coder Inbox #334

Closed
@defelmnq

Description

@defelmnq

Part of the main PR visible here.

This PR scope is to create the new delivery target internally for Coder Inbox. It includes :

  • The DB Migration
  • The logic to insert notifications to Coder Inbox

DB Migration discussed :

CREATE TABLE notifications_inbox (
    id UUID PRIMARY KEY,
    user_id UUID, // Foreign key to users
    title TEXT,
    content TEXT,
    read_at TIMESTAMP, // using NULL to know that the notification has not been read
    created_at TIMESTAMP NOT NULL DEFAULT NOW()
);

This PR also includes RBAC policy.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions