gnu-social/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
..
Attention.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Avatar.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Config.php varchar to text since there's no reason to limit the fields 2015-12-27 11:50:11 +01:00
Confirm_address.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Consumer.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Conversation.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
File_redirection.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
File_thumbnail.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
File_to_post.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
File.php [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2021-07-16 19:44:37 +01:00
Foreign_link.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Foreign_service.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Foreign_subscription.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Foreign_user.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Group_alias.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Group_block.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Group_inbox.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Group_join_queue.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Group_member.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
GS_DataObject.php DB_DataObject delete function calls PEAR::isError directly, ignore E_STRICT 2015-06-06 20:01:03 +02:00
Invitation.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Local_group.php [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2021-07-16 19:44:37 +01:00
Location_namespace.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Login_token.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Managed_DataObject.php [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2021-07-16 19:44:37 +01:00
Memcached_DataObject.php [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2021-07-16 19:44:37 +01:00
Nonce.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Notice_location.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Notice_prefs.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Notice_source.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Notice_tag.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Notice.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Oauth_application_user.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Oauth_application.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Oauth_token_association.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Old_school_prefs.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_block.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Profile_list.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Profile_prefs.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Profile_role.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_tag_subscription.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Profile_tag.php [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2021-07-16 19:44:37 +01:00
Profile.php [Profile][User_group] Fix profile deletion violating foreign keys 2021-07-16 19:44:37 +01:00
Queue_item.php [DATABASE] Update "modified" in Managed_DataObject instead of a DBMS trigger 2021-07-16 19:44:37 +01:00
Related_group.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Remember_me.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Reply.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Safe_DataObject.php DB_DataObject recommends using ->tableName() 2015-06-06 19:35:10 +02:00
Schema_version.php [DATABASE][Schema_version] Change the hashing algorithm to SHA3-512 2021-07-16 19:44:37 +01:00
Session.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Sms_carrier.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Status_network_tag.php [CORE] Bump Database requirement to MariaDB 10.3+ 2019-08-03 17:47:23 +01:00
status_network.ini oops. really embarassing typo (that explains some weird behaviour) 2010-07-29 16:32:41 -04:00
Status_network.php [CORE] Bump Database requirement to MariaDB 10.3+ 2019-08-03 17:47:23 +01:00
Subscription_queue.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Subscription.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Token.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Unavailable_status_network.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
User_group.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
User_im_prefs.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
User_location_prefs.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
User_urlshortener_prefs.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
User_username.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
User.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00