seitime-frappe/frappe/commands
Ankush Menat 573028ad3f
fix: always persist all indexes added via db.add_index (#31177)
* fix: always persist all indexes added via db.add_index

* fix: Add `if not exists` clause for index creation

This allows replica to have same index and master to add it later
without causing SQL error. Just minor DX benefit.

* fix(postgres): don't cache if table doesn't exist

* chore: revert postgres changes

Hopeless to maintain this
2025-02-25 07:25:49 +00:00
..
__init__.py Testing Module (#28000) 2024-10-07 09:46:49 +02:00
gettext.py refactor: type hint cli context 2024-09-13 17:25:43 +02:00
redis_utils.py perf: defer imports during CLI 2024-02-19 18:10:07 +05:30
scheduler.py refactor: type hint cli context 2024-09-13 17:25:43 +02:00
site.py fix: always persist all indexes added via db.add_index (#31177) 2025-02-25 07:25:49 +00:00
test_commands.py fix: always persist all indexes added via db.add_index (#31177) 2025-02-25 07:25:49 +00:00
testing.py ci: balance test distribution manually 2025-01-04 10:55:53 +05:30
translate.py refactor: type hint cli context 2024-09-13 17:25:43 +02:00
utils.py fix(make-app): don't allow creating an app with the same name as a site 2025-01-10 12:02:40 +05:30