gnu-social/plugins/ExtendedProfile/classes
Alexei Sorokin bee3dea9c2 [DATABASE] Add explicit indices for all foreign keys
This adds a requirement for all definitions that have foreign keys to also
require indices for all source (local) attributes mentioned in foreign keys.

MariaDB/MySQL creates indices for source attributes automatically, so this
serves as a way to get rid of those automatic indices and create clean explicit
ones instead.

In PostgreSQL, most of the time, indices on the source are necessary to
decrease performance penalty of foreign keys (like in MariaDB), but they aren't
created automatically, so this serves to remove that difference between
PostgreSQL and MariaDB.
2021-07-16 19:44:38 +01:00
..
GNUsocialProfileExtensionField.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
GNUsocialProfileExtensionResponse.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Profile_detail.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00