gnu-social/lib/database
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
..
columndef.php [LIB_REFACTOR] Fix minor issues 2021-07-16 19:44:35 +01:00
dberroraction.php [LIB_REFACTOR] Fix requires 2021-07-16 19:44:34 +01:00
mysqlschema.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
pgsqlschema.php [DATABASE] Make unprefixed schema.php a bit more DBMS-neutral 2021-07-16 19:44:37 +01:00
schema.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
schemaupdater.php [DATABASE][Schema_version] Change the hashing algorithm to SHA3-512 2021-07-16 19:44:37 +01:00
tabledef.php [LIB_REFACTOR] Moving files into separate semantic categories 2021-07-16 19:44:34 +01:00