gnu-social/lib/database
Alexei Sorokin 92e8c40c55 [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.
2020-07-31 16:36:40 +03:00
..
columndef.php [LIB_REFACTOR] Fix minor issues 2019-10-19 00:51:52 +01:00
dberroraction.php [LIB_REFACTOR] Fix requires 2019-09-03 03:33:13 +01:00
mysqlschema.php [DATABASE] Add explicit indices for all foreign keys 2020-07-31 16:36:40 +03:00
pgsqlschema.php [DATABASE] Make unprefixed schema.php a bit more DBMS-neutral 2020-07-23 18:12:01 +03:00
schema.php [DATABASE] Add explicit indices for all foreign keys 2020-07-31 16:36:40 +03:00
schemaupdater.php [DATABASE][Schema_version] Change the hashing algorithm to SHA3-512 2020-07-23 18:16:56 +03:00
tabledef.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00