seitime-frappe/frappe/database/postgres
Shllokkk 16e6c40d70
fix(schema): drop unique constraint for deleted doctype fields (#36356)
* fix(schema): drop unique constraint and indexes for deleted doctype fields

* refactor(schema): rename a variable and remove commented code

* test: add test case for dropping unique constraint on field deletion from doctype

* fix(tests): prevent list mutation during iteration

* test(db): guard MariaDB-specific unique index test with db_type_is.MARIADB

* fix(schema): drop unique constraints and indexes for deleted fields on postgres

* fix(schema): make postgres unique cleanup idempotent for deleted fields

* fix(schema): make postgres unique cleanup idempotent on reload

* test: add test case for dropping unique constraint and index on field deletion for postgres

* fix(schema): make postgres unique cleanup idempotent
2026-02-20 20:15:32 +05:30
..
__init__.py Postgres support for Frappe (#5919) 2018-09-21 10:20:48 +05:30
database.py perf(postgres): skip unnecessary migrations due to type mismatch (#34784) 2025-12-29 18:29:22 +05:30
framework_postgres.sql fix: Add is_virtual in bootstrap schema 2024-03-10 12:19:37 +05:30
schema.py fix(schema): drop unique constraint for deleted doctype fields (#36356) 2026-02-20 20:15:32 +05:30
setup_db.py style: fix errormsg to refer postgres instead of mariadb 2025-02-05 14:48:11 +01:00