seitime-frappe/frappe/database/mariadb
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 fix: make default flags same on both connectors (#36697) 2026-02-04 12:45:35 +00:00
framework_mariadb.sql fix: index sort field by default in tabFile (#25853) 2024-04-08 16:28:21 +05:30
mysqlclient.py fix: make default flags same on both connectors (#36697) 2026-02-04 12:45:35 +00:00
schema.py fix(schema): drop unique constraint for deleted doctype fields (#36356) 2026-02-20 20:15:32 +05:30
setup_db.py feat: MariaDB 11.8 support (#32289) 2025-06-12 10:11:24 +00:00