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:
Aarol D'Souza 2026-01-31 09:23:32 +05:30 committed by GitHub
commit bb4ed1f96c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(