Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport for other database vendors #10
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
kspearrin
Oct 11, 2016
Collaborator
This is actually very easy for anyone to do.
The project has a data access layer using the repository pattern. Data access is written against a few repository interfaces (see https://github.com/bitwarden/core/tree/master/src/Core/Repositories) that is isolated from all other business logic of the application. Once you write to those interfaces all you need to do is change the DI registration of those interfaces to your DB engine implementation and you're done (see https://github.com/bitwarden/core/blob/master/src/Api/Startup.cs#L62).
|
This is actually very easy for anyone to do. The project has a data access layer using the repository pattern. Data access is written against a few repository interfaces (see https://github.com/bitwarden/core/tree/master/src/Core/Repositories) that is isolated from all other business logic of the application. Once you write to those interfaces all you need to do is change the DI registration of those interfaces to your DB engine implementation and you're done (see https://github.com/bitwarden/core/blob/master/src/Api/Startup.cs#L62). |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
kspearrin
Oct 12, 2016
Collaborator
Closing this since this is not something I plan on implementing but is very possible given the above ^.
|
Closing this since this is not something I plan on implementing but is very possible given the above ^. |
kspearrin
closed this
Oct 12, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
MosabHD
Nov 2, 2017
Hi
have you heard of anyone who tried to implement this and worked for him?
unfortunately I am not experienced in this field and I want to have bitwarden on mysql.
MosabHD
commented
Nov 2, 2017
|
Hi |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
cloverzrg
commented
Jan 5, 2018
|
Mssql takes up too much memory |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jsaathof
commented
Mar 29, 2018
|
I have a PostgreSQL database. I would like to have that driver implemented. |
Reanmachine commentedOct 11, 2016
Support for MySQL/MariaDB or PostgreSQL would be really beneficial as SQL Server is a bit daunting to get running without a decent amount of capital. Even SQL Express limits the host greatly, and given the project is built against .NET core it will probably hurt deployment to Linux/Mac.
Even SQL Server for Linux is still shaky at the moment.