4 Commits
Author SHA1 Message Date
Daniel OpitzandBenjamin Brahmer 10c0b1ff10 removed warning about non utf8mb4 charset for mysql/mariadb - #496 (#497)
Signed-off-by: Daniel Opitz <git@copynpaste.de>
2019-04-25 13:04:56 +02:00
Daniel OpitzandBernhard Posselt 73873c8ba4 MySQL UTF8Mb4 link to current docs (#285) 2018-05-11 09:58:55 +02:00
Daniel OpitzandBernhard Posselt a97dd58e3b Split binary to booleans (#203)
* replaced old status with 2 flags for unread and starred

* add fields to db, replace int(1,0) with booleans in sql queries, removed StatusFlags class + refactor code relying to it

* add repair step for migration

* again use integer(1,0) instead of bool in sql queries, because of sqlite doesn't support true/false

* add/fix unit tests for new boolean status

* set unread/starred flags as statements in sql

* fixed mysql unknown column items.unread, fixed marking of read items on repair step

* remove unnecessary bool casts

* add empty checks to Items::is* methods

* update migration to use native sql instead of the querybuilder

* don't cast the flags manually, let the api do the work
2017-08-14 10:34:53 +02:00
Daniel OpitzandBernhard Posselt f7eb5f9b32 fixed camelCase and PascalCase as their meaning was inverted (#208) 2017-08-02 09:50:04 +02:00