Skip to content

ntf server: PostgreSQL database storage #1519

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

Merged
merged 19 commits into from
Apr 25, 2025

Conversation

epoberezkin
Copy link
Member

No description provided.

@epoberezkin epoberezkin requested a review from spaced4ndy as a code owner April 17, 2025 12:48
@epoberezkin epoberezkin force-pushed the ep/ntf-storage-postgres branch 7 times, most recently from 9dbd2ac to a52f8e1 Compare April 20, 2025 12:23
@epoberezkin epoberezkin force-pushed the ep/ntf-storage-postgres branch from 11705ca to d7e2c1b Compare April 21, 2025 16:10
Base automatically changed from ep/ntf-storage to master April 21, 2025 16:12
@epoberezkin epoberezkin force-pushed the ep/ntf-storage-postgres branch from 3ed1f9b to 8870111 Compare April 21, 2025 16:13
@epoberezkin epoberezkin changed the base branch from master to ntf-storage April 21, 2025 16:14
srvId :: Int64 <- ExceptT $ upsertServer db $ ntfSubServer' sub
n <- liftIO $ DB.execute db insertNtfSubQuery (ntfSubToRow srvId sub)
withLog "addNtfSubscription" st (`logCreateSubscriptionRec` sub)
pure $ n > 0
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what's the semantic for this - "any subscriptions created" or something more specific? better give it a name

@epoberezkin epoberezkin force-pushed the ep/ntf-storage-postgres branch from ac14175 to e030f5d Compare April 22, 2025 18:14
@epoberezkin epoberezkin force-pushed the ep/ntf-storage-postgres branch 2 times, most recently from e96a512 to 1ace0f7 Compare April 22, 2025 22:21
… subscriptions on conflict, improve server insertion, remove duplicate tokens for import, remove subscriptions without tokens for import
@epoberezkin epoberezkin force-pushed the ep/ntf-storage-postgres branch from 1ace0f7 to 76ddcab Compare April 25, 2025 12:29
@epoberezkin epoberezkin merged commit 850d2fa into ntf-storage Apr 25, 2025
1 of 4 checks passed
@epoberezkin epoberezkin deleted the ep/ntf-storage-postgres branch April 25, 2025 15:47
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

Successfully merging this pull request may close these issues.

2 participants