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

Support for other database vendors #10

Closed
Reanmachine opened this Issue Oct 11, 2016 · 6 comments

Comments

6 participants
@Reanmachine

Reanmachine commented Oct 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.

@Reanmachine Reanmachine referenced this issue Oct 11, 2016

Closed

.NET Core Runtime #3

3 of 4 tasks complete
@kspearrin

This comment has been minimized.

Show comment
Hide comment
@kspearrin

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).

Collaborator

kspearrin commented Oct 11, 2016

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).

@kspearrin

This comment has been minimized.

Show comment
Hide comment
@kspearrin

kspearrin Oct 12, 2016

Collaborator

Closing this since this is not something I plan on implementing but is very possible given the above ^.

Collaborator

kspearrin commented Oct 12, 2016

Closing this since this is not something I plan on implementing but is very possible given the above ^.

@kspearrin kspearrin closed this Oct 12, 2016

@MosabHD

This comment has been minimized.

Show comment
Hide comment
@MosabHD

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
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.

@cloverzrg

This comment has been minimized.

Show comment
Hide comment
@cloverzrg

cloverzrg Jan 5, 2018

Mssql takes up too much memory

cloverzrg commented Jan 5, 2018

Mssql takes up too much memory

@jsaathof

This comment has been minimized.

Show comment
Hide comment
@jsaathof

jsaathof Mar 29, 2018

I have a PostgreSQL database. I would like to have that driver implemented.

jsaathof commented Mar 29, 2018

I have a PostgreSQL database. I would like to have that driver implemented.

@Mart124

This comment has been minimized.

Show comment
Hide comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment