<feed xmlns='http://www.w3.org/2005/Atom'>
<title>FreshRSS (Customized)/app/SQL/install.sql.mysql.php, branch 1.26.1</title>
<subtitle>Customized version of FreshRSS, a self-hosted RSS feed aggregator</subtitle>
<id>https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.26.1</id>
<link rel='self' href='https://git.rdnlsmith.com/fresh-rss-custom/atom?h=1.26.1'/>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/'/>
<updated>2024-08-08T20:56:32+00:00</updated>
<entry>
<title>SQL single quote string literals (#6701)</title>
<updated>2024-08-08T20:56:32+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2024-08-08T20:56:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=e08574a47d33c74eccc0675248a8d83ca205fed2'/>
<id>urn:sha1:e08574a47d33c74eccc0675248a8d83ca205fed2</id>
<content type='text'>
https://www.sqlite.org/quirks.html#double_quoted_string_literals_are_accepted
fix https://github.com/FreshRSS/FreshRSS/issues/6602
And MySQL at the same time https://dev.mysql.com/doc/refman/9.0/en/string-literals.html</content>
</entry>
<entry>
<title>SQL test if minor update is needed (#6692)</title>
<updated>2024-08-04T17:42:01+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2024-08-04T17:42:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=b034ce2ccbc3363127d96fdc3ede298374f2c5bc'/>
<id>urn:sha1:b034ce2ccbc3363127d96fdc3ede298374f2c5bc</id>
<content type='text'>
* SQL test if minor update is needed
fix https://github.com/FreshRSS/FreshRSS/issues/6592

* Minor syntax</content>
</entry>
<entry>
<title>Auto-update 5038 (#6279)</title>
<updated>2024-05-13T10:44:35+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2024-05-13T10:44:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=4f57a46075fc38cffd479ab76b2ea56e9b626926'/>
<id>urn:sha1:4f57a46075fc38cffd479ab76b2ea56e9b626926</id>
<content type='text'>
* Auto-update 5038
https://github.com/FreshRSS/FreshRSS/pull/5038

* PostgreSQL

* Draft for MySQL

* More draft MySQL

* Finalise

* A bit more robust</content>
</entry>
<entry>
<title>Rework SQL field length (#5788)</title>
<updated>2023-10-31T01:01:50+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2023-10-31T01:01:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=ad8bae5acadcda0291c3a6ca579303dbd4053f04'/>
<id>urn:sha1:ad8bae5acadcda0291c3a6ca579303dbd4053f04</id>
<content type='text'>
* SQL auto-update field length
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/5756
Only for PostgreSQL and MySQL / MariaDB. Not possible for SQLite

* Account for MySQL 65535
Partial revert of https://github.com/FreshRSS/FreshRSS/pull/5756
&gt; The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead.</content>
</entry>
<entry>
<title>Ready for year 2038 (#5570)</title>
<updated>2023-10-30T20:10:09+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2023-10-30T20:10:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=21a279179a5e496082f4e43c5a2a5e10d90c0bdb'/>
<id>urn:sha1:21a279179a5e496082f4e43c5a2a5e10d90c0bdb</id>
<content type='text'>
* Ready for year 2038
Fix https://github.com/FreshRSS/FreshRSS/discussions/5569
Requires PHP on a 64-bit platform to take advantage of it.
https://en.wikipedia.org/wiki/Year_2038_problem

* Allows dates past 2038
Rework of https://github.com/FreshRSS/FreshRSS/pull/3259
https://github.com/FreshRSS/FreshRSS/issues/3258

* Auto alter columns

* Changelog</content>
</entry>
<entry>
<title>SQL increase length of VARCHAR fields (#5756)</title>
<updated>2023-10-30T19:47:50+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2023-10-30T19:47:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=0324df6f889f18500cc8d201fdc2845f3e4d1acf'/>
<id>urn:sha1:0324df6f889f18500cc8d201fdc2845f3e4d1acf</id>
<content type='text'>
* SQL increase length of VARCHAR fields
Increase length of all fields, keeping the limits for:
* Unique indexes on UTF-8: 191 bytes for MySQL;
* Unique indexes on ASCII: 767 bytes for MySQL;
* Max URL for external tools: 32768 characters;
* Max VARCHAR: 65535 bytes for MySQL;
Follow-up of https://github.com/FreshRSS/FreshRSS/pull/5038
Fix https://github.com/FreshRSS/FreshRSS/issues/4986

* Fix length test</content>
</entry>
<entry>
<title>SQL: clean old auto-updates (#5649)</title>
<updated>2023-09-12T08:43:14+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2023-09-12T08:43:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=f050a94b48499286abfb4b69f3bcb3dee5f9ea2d'/>
<id>urn:sha1:f050a94b48499286abfb4b69f3bcb3dee5f9ea2d</id>
<content type='text'>
Should help with some DB lock issues.

Complete https://github.com/FreshRSS/FreshRSS/pull/3558 after https://github.com/FreshRSS/FreshRSS/pull/5625 already cherry-picked from it.

* Removed auto-update of MySQL GUID case sensitivity
https://github.com/FreshRSS/FreshRSS/pull/2078
  * Contributed to a DB lock in https://github.com/FreshRSS/FreshRSS/issues/5008

Also removed the following non-problematic auto-updates, simply because they were older than the above ones
* Auto-create custom labels (1.12.0) https://github.com/FreshRSS/FreshRSS/pull/2027
* Auto-add JSON column for feeds (1.11.0) https://github.com/FreshRSS/FreshRSS/pull/1838
* Auto-create temporary tables (1.7.0) https://github.com/FreshRSS/FreshRSS/pull/1470</content>
</entry>
<entry>
<title>Fix MySQL bug (#5132)</title>
<updated>2023-02-23T15:21:29+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2023-02-23T15:21:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=e2a7e192a681a2d81070322fb23bbf08e62da624'/>
<id>urn:sha1:e2a7e192a681a2d81070322fb23bbf08e62da624</id>
<content type='text'>
#fix https://github.com/FreshRSS/FreshRSS/issues/5128
MySQL cannot have multiple VARCHAR(x) whose total length is higher than 65535 in the same table.

&gt; ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs</content>
</entry>
<entry>
<title>Increase max feed URL length and drop unicity (#5038)</title>
<updated>2023-01-26T07:13:38+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2023-01-26T07:13:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=2f027545226eca238a6a80021cb3ac0e60b51696'/>
<id>urn:sha1:2f027545226eca238a6a80021cb3ac0e60b51696</id>
<content type='text'>
* Increase max feed URL length and drop unicity
#fix https://github.com/FreshRSS/FreshRSS/issues/4338
Drop the unicity constraint on our feed URL. In practice, this did not add much value as identical feeds could have different URLs. And it generated several problems, for instance during renaming or automatic redirections such as from HTTP to HTTPS, with collisions for which we dot not have any elegant handling.
I have kept a high limit of 32768 because cURL does not seem to have any limit except memory, which might lead to memory problems. This is the highest server-side value reported by https://www.sistrix.com/ask-sistrix/technical-seo/site-structure/url-length-how-long-can-a-url-be

* Same for Web site URL
For consistency</content>
</entry>
<entry>
<title>Add database field attributes for entries (#4444)</title>
<updated>2022-07-19T13:17:08+00:00</updated>
<author>
<name>Alexandre Alapetite</name>
<email>alexandre@alapetite.fr</email>
</author>
<published>2022-07-19T13:17:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rdnlsmith.com/fresh-rss-custom/commit/?id=0866fdaee85bc8530437436abe7f8536b8b0f4f0'/>
<id>urn:sha1:0866fdaee85bc8530437436abe7f8536b8b0f4f0</id>
<content type='text'>
* Add database field attributes for entries
Just like we already have for categories, feeds, etc.
No core use yet, but allows in particular extensions to save per-entry data

* Fix PHPStand

* Fix wrong variable</content>
</entry>
</feed>
