Commit Graph

218 Commits

Author SHA1 Message Date
Michael 757a5c2de9 Loglevels are adjusted 2022-08-30 19:45:30 +00:00
Michael 86105635ca Improved message handling / new activity relay handling 2022-07-27 17:39:00 +00:00
Philipp Holzer d74e57ef2c
include suggested changes 2022-07-13 00:23:12 +02:00
Philipp Holzer a910fd8864
Split DBStructure & View to avoid DB-calls and dependencies for basic operations
- new "Definition" classes vor DB and Views
- new "Writer" classes to create SQL definitions for DB and Views
- DBStructure & View are responsible to execute DB-querys
2022-07-12 23:40:31 +02:00
Roland Häder e33f5612ab
Changes:
- added some type-hints
- added some documentation
- changed some double-quotes to single
2022-06-27 15:16:18 +02:00
Roland Häder 0d81a08e3c
WIP: Properly some fixes? Also why is DROP VIEW IF EXISTS is being killed? 2022-06-21 13:47:39 +02:00
Roland Häder 44a9ec9b17
Rewrite:
- avoid having array|string for $table to have a "string" type-hint for $table
- you now have to do it for yourself by giving 'schema.table' as parameter
2022-06-21 13:47:38 +02:00
Roland Häder 60f8c2d795
Changes:
- added missing type-hints
- added documentation for a method
2022-06-19 10:50:09 +02:00
Roland Häder f3599fa3e9
Changes:
- dbstructure(null) is no longer possible, an empty string does it
2022-06-19 09:13:10 +02:00
Roland Häder b6bfe72083
Wrong returned type, has to be array 2022-06-19 02:40:07 +02:00
Roland Häder 7bb0cb5323
Changes:
- added more type-hints
- DBStructure::existsTable() does no longer need array support for table name
  because this is no longer used (good work!)
2022-06-19 02:11:12 +02:00
Philipp 322b7c856c
Merge pull request #11129 from urbalazs/copyright-2022
Update copyright
2022-01-02 09:45:35 +01:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Michael 92fe3d9213 Issue 11120: Delete tables in the correct order 2021-12-26 05:08:59 +00:00
Philipp Holzer 5350e0852d
Add `hostname` to `Process` entity 2021-11-06 20:21:01 +01:00
Michael 9961943b73 Code Style: Replace "AS" with "as" 2021-10-03 10:34:41 +00:00
Michael e4b8536c75 Removing MySQL workaround 2021-09-26 18:30:44 +00:00
Michael f26226229a Issue 10768: Avoid MySQL problems when upgrading both index and structure 2021-09-26 17:13:26 +00:00
Michael c1f849c389 Unneeded legacy DFRN table removed 2021-07-22 07:11:26 +00:00
Michael 6668066099 The legacy OAuth server is removed 2021-07-20 17:41:04 +00:00
Michael 3a5523820c Legacy DFRN transport layer is removed 2021-07-15 13:28:32 +00:00
Michael ae5f57233e Issue 10392: Avoid "Friendica can't display this page at the moment" 2021-06-16 13:23:07 +00:00
Michael 7106106f11 Formatted index list 2021-06-14 12:15:10 +00:00
Michael 96f07c7288 Indexes and foreign keys added 2021-06-14 08:53:37 +00:00
Michael fd30df7300 Pad the header 2021-06-14 05:58:51 +00:00
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 bb5e6d248b Added sort order 2021-06-13 20:56:14 +00:00
Michael 84ab5d6159 Updates database structure documentation 2021-06-13 20:33:50 +00:00
Michael 4d4544ada3 Separate the char from the binary handling 2021-05-24 20:07:39 +00:00
Michael da8d5f5015 Issue 9926: Limit the length of data to store in the apcontact table 2021-05-24 19:44:24 +00:00
Michael 4f5d2e7d36 Avoid empty basepath when loading database structure 2021-04-19 19:42:57 +00:00
Michael f70650f824 Further unused tables to be dropped 2021-04-07 12:10:54 +00:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Michael 2072fb1eed Avoid foreign key violations when deleting unused tables 2021-03-24 19:47:55 +00:00
Michael c247d5fbeb The item table is now completely removed 2021-02-19 06:30:38 +00:00
Michael 36357e790e "id" is now post-user-id 2021-02-14 18:33:15 +00:00
Michael ab5a447bc2 The "thread" table isn't used anymore 2021-02-08 07:48:36 +00:00
Michael e561cad844 "participation" is removed since it is unused 2021-02-02 06:28:51 +00:00
Michael 5a2c5da81d Added "user-item" table to the list of removable tables 2021-02-02 06:10:10 +00:00
Michael c3398511b4 New table "post-content" 2021-01-30 22:03:53 +00:00
Michael 8eb3bddc2a Reduce the parameter chaos by splitting the update function 2021-01-30 13:31:59 +00:00
Michael 90f1175cf5 Setting "maintenance" for pre and post updates 2021-01-30 07:50:20 +00:00
Michael 6ebd023c4e Drop unused friendica tables 2020-12-20 14:01:46 +00:00
Michael 23bc725ce9 Fix: Only echo on verbose 2020-11-23 19:47:30 +00:00
Michael 61ff99c410 Command line option to check initial values 2020-11-23 18:58:18 +00:00
Michael 303aaa00ca Mode switch for insert 2020-11-19 19:34:48 +00:00
Michael 3af5f6b8ee Some more foreign keys added 2020-11-19 06:26:30 +00:00
Michael f36ecdf6bf Replacing deprecated log calls 2020-11-18 09:14:12 +00:00