Commit Graph

186 Commits

Author SHA1 Message Date
Michael 4095e6c9be Pad the lengths of the columns 2021-06-14 05:33:47 +00:00
Michael a827f948c8 Reversed "null" 2021-06-14 05:14:09 +00:00
Michael 31db9dbef7 Added default value "NULL" 2021-06-14 05:08:01 +00:00
Michael 84ab5d6159 Updates database structure documentation 2021-06-13 20:33:50 +00:00
Michael e561cad844 "participation" is removed since it is unused 2021-02-02 06:28:51 +00:00
Michael 76705664cd Remove the unused tables 2020-08-03 18:26:23 +00:00
Hypolite Petovan 34463f37e4 Rename contact table column to ffi_keyword_denylist 2020-06-07 11:24:52 -04:00
Hypolite Petovan da09215db8 [Database] Version 1333
- Exchange profile.pdesc for profile.about
2020-02-09 02:35:46 -05:00
Hypolite Petovan 8e2910976f Remove usage of profile.gender 2020-01-27 23:00:18 -05:00
Hypolite Petovan 4e6dd7dd5f Update db cache table documentation 2018-03-04 23:13:19 -05:00
Adam Magness ac374f7773 Review updates 2018-01-20 07:48:22 -05:00
Adam Magness 20a16b0b35 Update docs
changelog, install and doc folder
2018-01-20 07:48:22 -05:00
Michael 4c104a6cc2 Added table definition 2018-01-12 23:25:30 +00:00
Hypolite Petovan ebbf6089b4 Add database doc about the new oembed.maxwidth field 2018-01-10 19:25:08 -05:00
rabuzarus 9db936013c add registered-users to the db docu 2018-01-08 14:57:50 +01:00
Hypolite Petovan eeee65136c Remove obsolete fserver and ffinder db table doc 2017-12-06 23:11:06 -05:00
Hypolite Petovan fe93029914 Remove unused table documentation 2017-12-06 18:27:55 -05:00
Michael 0695fa699c Removed "service class" functionality 2017-10-18 21:44:27 +00:00
Michael fda4cd6001 Changed documentation 2017-06-17 19:13:40 +00:00
Michael 611d3e3f5d Added documentation 2017-06-06 17:41:01 +00:00
Michael 286b2da7a9 Added documentation and renamed function 2017-06-06 17:25:28 +00:00
Michael 55c39a80fa Description added 2017-04-29 12:19:49 +00:00
Michael fa14096ea8 Added documentation 2017-04-29 08:11:54 +00:00
Alexandre Alapetite 6b250d3ae9 Merge branch 'develop' into MySQL5.7 2017-04-16 15:16:58 +02:00
Michael f399a1914f Removed documentation 2017-04-13 05:08:12 +00:00
Alexandre Alapetite d2901dcb00 Fix for MySQL 5.7+
https://github.com/friendica/friendica/issues/2786

Only tested on Ubuntu 16.10 with MySQL 5.7.17.

https://dev.mysql.com/doc/refman/8.0/en/timestamp-initialization.html

https://dev.mysql.com/doc/refman/8.0/en/sql-mode.html#sqlmode_no_zero_date
As of MySQL 5.7.4, NO_ZERO_DATE is deprecated.

Patch based on the following search & replace (and then reverting some
changes in libraries):

```sh
grep -l '= "0000-00-00"' -r . | xargs sed -i -e "s/= \"0000-00-00\"/=
'0000-00-00'/g"

grep -l "0000-00-00" -r . | xargs sed -i -e "s/0000-00-00/0001-01-01/g"

grep -l "!= '0001-01-01'" -r . | xargs sed -i -e "s/!= '0001-01-01'/>
'0001-01-01'/g"

grep -l " === '0001-01-01'" -r . | xargs sed -i -e "s/ === '0001-01-01'/
<= '0001-01-01'/g"

grep -l " == '0001-01-01'" -r . | xargs sed -i -e "s/ == '0001-01-01'/
<= '0001-01-01'/g"

grep -l "strpos(\$dob, '0000-') === 0" -r . | xargs sed -i -e
"s/strpos(\$dob, '0000-') === 0/strpos(\$dob, '0000-') === 0 ||
strpos(\$dob, '0001-') === 0/g"

grep -l 'array("", "0001-01-01")' -r . | xargs sed -i -e 's/array("",
"0001-01-01")/array("", "0000-00-00", "0001-01-01")/g'

grep -l "\$dob = '0000-'" -r . | xargs sed -i -e "s/\$dob =
'0000-'/\$dob = '0001-'/g"
```
2017-04-11 23:00:45 +02:00
Hypolite Petovan bc407080d2 ping.php performance: improve documentation and formatting 2016-10-28 22:14:51 -04:00
Michael Vogel 19d820a9c4 Added fcontact doc 2016-07-10 14:08:27 +02:00
Michael Vogel c7373dcec4 author-id/owner-id: Post update function/added database documentation 2016-06-23 21:15:54 +02:00
Michael Vogel 16b92af71f Retraction do work as well 2016-03-17 12:24:23 +01:00
Michael Vogel 56cb6cc897 Removed just more old diaspora function calls. 2016-03-14 20:53:44 +01:00
Michael Vogel 7b2fadcf43 Get rid of the "guid" table. We don't need it anymore. 2016-02-09 10:21:10 +01:00
Michael Vogel 90a8d6f0f5 Several performance improvements 2016-01-15 23:27:25 +01:00
Michael Vogel 012107f5f7 Table documentation added 2016-01-11 20:17:31 +01:00
Michael Vogel 5ab2786c00 Get rid of the table "unique_contacts" 2016-01-06 22:23:12 +01:00
rabuzarus 12f8b0630d docu - add schema of each db table 2015-12-28 02:50:25 +01:00