Skip to content

feat(backend): add asset comments - #38

Draft
LooFifteen wants to merge 3 commits into
mainfrom
feat/backend/asset-comments
Draft

LooFifteen wants to merge 3 commits into
mainfrom
feat/backend/asset-comments

Conversation

@LooFifteen

@LooFifteen LooFifteen commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

This PR adds the following database tables:

comments(
    id UUID PRIMARY KEY DEFAULT uuidv7(),
    archived_at TIMESTAMPTZ,

    title TEXT NOT NULL,
    content TEXT NOT NULL,

    created_at TIMESTAMPTZ NOT NULL DEFAULT now(),
    created_by UUID REFERENCES users(id) NOT NULL
)
asset_comments(
    asset UUID REFERENCES assets(id) NOT NULL,
    comment UUID REFERENCES comments(id) NOT NULL
)

and the following routes:
GET /v1/assets/{id}/comments
POST /v1/assets/{id}/comments
PUT /v1/assets/{asset_id}/comments/{comment_id}

@LooFifteen
LooFifteen force-pushed the feat/backend/asset-comments branch 2 times, most recently from 51e651b to 9ec8be4 Compare August 15, 2026 12:59
@LooFifteen LooFifteen added enhancement New feature or request area: backend labels Aug 15, 2026
@LooFifteen
LooFifteen force-pushed the feat/backend/asset-comments branch 14 times, most recently from d4aa144 to 2bb837e Compare August 24, 2026 22:52
@LooFifteen
LooFifteen force-pushed the feat/backend/asset-comments branch 3 times, most recently from d863e14 to d1a1028 Compare August 27, 2026 22:56
@LooFifteen
LooFifteen force-pushed the feat/backend/asset-comments branch from d1a1028 to b8a66de Compare August 27, 2026 23:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: backend enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant