gnu-social/classes
Alexei Sorokin 26115482ef [SCHEMA] Improve timestamp storage
Avoid the use of deprecated MariaDB "zero dates" globally. If they're present
as attribute defaults somewhere, they will be replaced with NULL implicitly.
The existing "zero dates" in MariaDB storage will be left intact and this
should not present any issues.

The "timestamp" type in table definitions now corresponds to DATETIME in
MariaDB with "DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP", which
should be close enough to the original behaviour for compatibility purposes.
It is now the recommended type for "modified" attributes, because of the
update trigger on MariaDB. But there is no such trigger implemented on
PostgreSQL as of this moment.
2021-07-16 19:44:37 +01:00
..
Attention.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Avatar.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +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 [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +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 [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
File_thumbnail.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
File_to_post.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
File.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Foreign_link.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Foreign_service.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Foreign_subscription.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Foreign_user.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Group_alias.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Group_block.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +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 [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +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 [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Local_group.php [SCHEMA] Improve timestamp storage 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] Start transactions with START TRANSACTION 2021-07-16 19:44:36 +01:00
Memcached_DataObject.php [Memcached_DataObject] Check if it is possible to sort efficiently 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 [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +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 [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Oauth_application_user.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Oauth_application.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Oauth_token_association.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Old_school_prefs.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_block.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_list.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_prefs.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_role.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_tag_subscription.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile_tag.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Profile.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Queue_item.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Related_group.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Remember_me.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Reply.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Safe_DataObject.php DB_DataObject recommends using ->tableName() 2015-06-06 19:35:10 +02:00
Schema_version.php [SCHEMA] Improve timestamp storage 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 [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Token.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
Unavailable_status_network.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
User_group.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
User_im_prefs.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +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 [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00
User.php [SCHEMA] Improve timestamp storage 2021-07-16 19:44:37 +01:00