Commit Graph

387 Commits

Author SHA1 Message Date
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
Tobias Diekershoff f24deebc7f
Merge pull request #9981 from annando/issue-9977
Issue 9977: Check for existance of the "item" table on postupdate
2021-03-04 10:21:06 +01:00
Michael bd7e5b69c1 Issue 9975: Remove unused views 2021-03-04 00:02:34 +00:00
Michael b029e78212 Issue 9977: Check for the existance of the "item" table on postupdate 2021-03-04 00:00:24 +00:00
Michael 99a145f7cf Fixes several database errors, removes "relation" handling 2021-02-25 05:13:49 +00:00
Michael 10f7280bbc Fetch a given number of posts 2021-02-21 07:46:58 +00:00
Michael c247d5fbeb The item table is now completely removed 2021-02-19 06:30:38 +00:00
Michael 1afc076831 Set the post update version 2021-02-15 22:22:34 +00:00
Michael 896e58347d Post update function to set the "external-id" 2021-02-14 21:57:02 +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 8f27715d8b "item" is replaced whenever possible at the moment 2021-02-06 13:42:21 +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 df24c0daeb User-Item table is replaced 2021-02-02 05:45:57 +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 4157db5473 "item" is replaced by "post-view" / postupdate check added 2021-01-17 20:32:13 +00:00
Michael 81ffe38f2e The highest post update version number is 1385 2021-01-07 22:12:53 +00:00
Michael 7f56e2e7a9 Improve photo loading speed 2020-12-26 18:51:36 +00:00
Hypolite Petovan c8476f6838
Merge pull request #9687 from annando/drop-unused
Drop unused friendica tables
2020-12-20 19:11:45 -05:00
Michael 6ebd023c4e Drop unused friendica tables 2020-12-20 14:01:46 +00:00
Michael d755bbae8f Remove unneeded configutation 2020-12-20 08:56:32 +00:00
Michael 92679de225 Remove orphaned avatar photo entries 2020-12-19 22:07:08 +00:00
Hypolite Petovan 99b200868b Normalize return value in Database->fetch
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-741857058
2020-12-10 06:12:10 -05:00
Michael bd4dc10588 Ensure that the database.sql contains "if exists" 2020-12-02 08:50:45 +00:00
Michael Vogel eb48a36061
Update src/Database/View.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2020-11-29 21:59:24 +01:00
Michael 7e6a9bd893 Ensure that a view is a view and not a table 2020-11-29 19:06:43 +00:00
Michael bd9f36622e Cast field data when ATTR_EMULATE_PREPARES is enabled 2020-11-27 11:24:31 +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
Michael 4f7d42a0d3 Fixed copy&paste error 2020-11-18 05:55:15 +00:00
Michael b09ffa0697 Relocate system user creation 2020-11-18 05:33:17 +00:00
Michael d7fa58d81c Ensure to never delete the "0" user 2020-11-18 05:24:04 +00:00
Michael 81a03b137b Test: only insert empty user 2020-11-18 05:04:17 +00:00
Michael 1e9d3342a3 Changed order of inserts 2020-11-18 00:13:39 +00:00
Michael 317921e51c Changed order 2020-11-17 23:45:16 +00:00
Michael eaa58da25b New table "post-user" and more foreign keys 2020-11-17 22:33:44 +00:00
Michael eb8caaa5e7 Restore the connection check 2020-11-07 11:44:39 +00:00
Michael 8906615b2c Test if PDO doesn't work on the tests 2020-11-07 10:27:22 +00:00
Michael 84924d1c05 Test the tes 2020-11-07 10:12:31 +00:00