polyphony-chat / symfonia

A Polyphony chat server, compatible with Spacebar and the Discord API.
Mozilla Public License 2.0
25 stars 3 forks source link

Support PostgreSQL #35

Closed bitfl0wer closed 3 months ago

bitfl0wer commented 3 months ago

A sizeable amount of sysadmins prefer PostgreSQL over MySQL/MariaDB. As such, Postgres should be supported in symfonia as well. This could be accommodated for by using the sqlx::Any trait instead of sqlx::MySql throughout the codebase.

Changes are being made in chorus to support sqlx::Any, as well as updating sqlx to version 0.8.0.

bitfl0wer commented 3 months ago

Going forward, the supported Database flavor will be PostgreSQL. Supporting many different SQL flavors is nice, but taking full advantage of the features one SQL flavor has to offer is better, in my opinion. "A Jack of all trades is a master of none", and so on.

Issues that remain here are:

bitfl0wer commented 3 months ago

Initial support for PostgreSQL has been merged in #39. Further steps are documented in #40