seitime-frappe/frappe/database/mariadb
Aditya Hase d334379b02
fix(restore): Repopulate db_tables cache after database restore
This takes care of the following scenario.

During restore, before tabDefaultValue is created if a request/command executes frappe.db.get_tables, then the cached value db_tables is populated with partial list of tables.

bootstrap_database then checks if this partial list contains tabDefaultValue (as a sanity test to see if the restore worked). This check fails even though the database is correctly restored.
2021-12-22 10:58:17 +05:30
..
__init__.py Postgres support for Frappe (#5919) 2018-09-21 10:20:48 +05:30
database.py feat: make rating field's stars customizable with options field 2021-12-13 16:03:21 +05:30
framework_mariadb.sql fix: missing migration hash column 2021-10-11 17:23:17 +05:30
schema.py Merge pull request #13955 from gavindsouza/trim-db 2021-09-15 17:08:40 +05:30
setup_db.py fix(restore): Repopulate db_tables cache after database restore 2021-12-22 10:58:17 +05:30