Skip to content

Create new delivery target - Coder Inbox #334

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
defelmnq opened this issue Feb 4, 2025 · 0 comments
Closed

Create new delivery target - Coder Inbox #334

defelmnq opened this issue Feb 4, 2025 · 0 comments
Assignees

Comments

@defelmnq
Copy link

defelmnq commented Feb 4, 2025

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.

@defelmnq defelmnq self-assigned this Feb 13, 2025
@defelmnq defelmnq added the l estimated at 1 week of work label Feb 21, 2025
@defelmnq defelmnq removed the l estimated at 1 week of work label Feb 25, 2025
defelmnq added a commit to coder/coder that referenced this issue Mar 3, 2025
This PR is linked [to the following
issue](coder/internal#334).

The objective is to create the DB layer and migration for the new `Coder
Inbox`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant