abpframework / abpframework/abp

abp-cli add option switch-dbms to change database provider

Open
#13,002 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

abp-cli
Dominant language
C#
Stars
14.4k
Forks
3.7k
Avg merge
15h 32m
Merged PRs (30d)
106

Description

ABP Framework 5.2.2.

Please write in English.

I would be a great advantage to be able to change the db provider after a standard-template and microservice-template is generated.
There could be a parameter "-switch-dbms" where you could provide a new db provider like, which automatically does what is described at https://docs.abp.io/en/abp/latest/Entity-Framework-Core-Other-DBMS but also includes Mongodb:

SqlServer
MySQL
SQLite
Oracle
Oracle-Devart
PostgreSQL
Mongo

An optional parameter for the connectionstring should also be possible to provide.
I would love to see that feature soon for abp commercial

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the database-provider guidance at https://docs.abp.io/en/abp/latest/Entity-Framework-Core-Other-DBMS and the requested abp-cli template-generation flow. Define how the switch-dbms option and optional connection string should apply to standard and microservice templates, covering SqlServer, MySQL, SQLite, Oracle, Oracle-Devart, PostgreSQL, and Mongo.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
cli, databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.