[GH-ISSUE #252] [Question] How AppFlowy is using Postgres ? #137

Closed
opened 2026-03-23 20:32:23 +00:00 by mirror · 3 comments
Owner

Originally created by @khanakia on GitHub (Jan 10, 2022).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/252

Originally assigned to: @appflowy on GitHub.

Hello,

I can see here https://github.com/AppFlowy-IO/appflowy/blob/main/backend/src/config/configuration.rs appflowy seems to be using Postgres but when I open the app I do not see it installs any Postgres server.

So I would really appreciate if you can explain how appflowy is using Postgres under the hood without installing the psql server at all.

Originally created by @khanakia on GitHub (Jan 10, 2022). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/252 Originally assigned to: @appflowy on GitHub. Hello, I can see here https://github.com/AppFlowy-IO/appflowy/blob/main/backend/src/config/configuration.rs appflowy seems to be using Postgres but when I open the app I do not see it installs any Postgres server. So I would really appreciate if you can explain how appflowy is using Postgres under the hood without installing the psql server at all.
mirror 2026-03-23 20:32:23 +00:00
  • closed this issue
  • added the
    notes
    label
Author
Owner

@appflowy commented on GitHub (Jan 10, 2022):

Hi @khanakia, at this moment, v 0.0.2 is not using Postgres, as it only supports offline. We are developing an online version (v 0.0.4), which will enable the frontend (desktop application) to communicate with the backend that uses Postgres.

<!-- gh-comment-id:1008726569 --> @appflowy commented on GitHub (Jan 10, 2022): Hi @khanakia, at this moment, v 0.0.2 is not using Postgres, as it only supports offline. We are developing an online version (v 0.0.4), which will enable the frontend (desktop application) to communicate with the backend that uses Postgres.
Author
Owner

@khanakia commented on GitHub (Jan 10, 2022):

@appflowy so are you using Sqlite as database ?

<!-- gh-comment-id:1008729574 --> @khanakia commented on GitHub (Jan 10, 2022): @appflowy so are you using Sqlite as database ?
Author
Owner

@appflowy commented on GitHub (Jan 10, 2022):

@khanakia Yes. You can checkout the frontend/rust-lib/flowy-database crate.

<!-- gh-comment-id:1008826345 --> @appflowy commented on GitHub (Jan 10, 2022): @khanakia Yes. You can checkout the frontend/rust-lib/flowy-database crate.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#137
No description provided.