Merge pull request #36403 from AarDG10/ux-postgres-install
feat(UX): warn users during install that multi-db support (pg/sqlite) is in testing
This commit is contained in:
commit
bb4ed1f96c
1 changed files with 14 additions and 0 deletions
|
|
@ -90,6 +90,20 @@ def new_site(
|
|||
from frappe.installer import _new_site
|
||||
|
||||
frappe.init(site, new_site=True)
|
||||
db_labels = {
|
||||
"postgres": "PostgreSQL",
|
||||
"sqlite": "SQLite",
|
||||
}
|
||||
if db_type in db_labels:
|
||||
click.secho(
|
||||
f"\nNote: {db_labels[db_type]} support is currently in development and considered experimental.",
|
||||
fg="yellow",
|
||||
bold=True,
|
||||
)
|
||||
click.secho(
|
||||
"Please report issues with a full traceback here:\nhttps://github.com/frappe/frappe/issues\n",
|
||||
fg="cyan",
|
||||
)
|
||||
|
||||
if site in frappe.get_all_apps():
|
||||
click.secho(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue