gnu-social/lib/database
Alexei Sorokin 9a515b9234 [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.
2020-06-29 01:41:46 +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 [SCHEMA] Improve timestamp storage 2020-06-29 01:41:46 +03:00
pgsqlschema.php [SCHEMA] Improve timestamp storage 2020-06-29 01:41:46 +03:00
schema.php [SCHEMA] Improve timestamp storage 2020-06-29 01:41:46 +03:00
schemaupdater.php [DATABASE] Start transactions with START TRANSACTION 2020-06-08 12:25:01 +03:00
tabledef.php [LIB_REFACTOR] Moving files into separate semantic categories 2019-09-03 03:33:13 +01:00