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
Conversation.php
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
Foreign_link.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Foreign_service.php
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
Group_block.php [DATABASE] Add explicit indices for all foreign keys 2021-07-16 19:44:38 +01:00
Group_inbox.php
Group_join_queue.php
Group_member.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
GS_DataObject.php
Invitation.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Local_group.php
Location_namespace.php
Login_token.php
Managed_DataObject.php
Memcached_DataObject.php
Nonce.php
Notice_location.php
Notice_prefs.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Notice_source.php
Notice_tag.php
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
Profile_tag_subscription.php [DATABASE] Fix index identifiers and clean up redundant ones 2021-07-16 19:44:38 +01:00
Profile_tag.php
Profile.php
Queue_item.php
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
Schema_version.php [DATABASE][Schema_version] Change the hashing algorithm to SHA3-512 2021-07-16 19:44:37 +01:00
Session.php
Sms_carrier.php
Status_network_tag.php
status_network.ini
Status_network.php
Subscription_queue.php
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
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
User_urlshortener_prefs.php
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