Tusky-App-Android/app/src/main/java/com/keylesspalace/tusky/db
mcclure 70f8e8ba93
Implement new policy: The database version number is always even (#4128)
Posted this as issue #3999 before. The reasoning is personal experiments
and forks may add database fields and must bump the database number to
do so, but this causes massive merge difficulties when Tusky then
inevitably itself bumps the number. To alleviate this, Tusky official
should use only even database numbers, so odd versions are available for
third party scribbling.

There was little discussion positive or negative in #3999 (one proposal
we switch to a date-based number system, which would work but also could
be unnecessarily complicated). With PR #4115 we now have to make a
decision because that's the first post-proposal PR to bump the database
number odd. So, since I see no outright objections, I'd like to
implement this.

@connyduck suggested the best way to implement the proposal would be to
add a comment to the version number's home in AppDatabase.java.

Co-authored-by: Konrad Pozniak <connyduck@users.noreply.github.com>
2024-01-03 22:21:18 +01:00
..
AccountDao.kt add ktlint plugin to project and apply default code style (#2209) 2021-06-28 21:13:24 +02:00
AccountEntity.kt feat: Change name of Preferences > Filters > Tabs and move them to Account Preferences(#3536) (#4115) 2024-01-03 21:14:13 +01:00
AccountManager.kt Cache locked state of connected accounts (#3790) 2023-07-27 00:09:26 +02:00
AppDatabase.java Implement new policy: The database version number is always even (#4128) 2024-01-03 22:21:18 +01:00
ConversationsDao.kt Fix conversations (#2556) 2022-05-30 19:06:14 +02:00
Converters.kt Migrate "room" from "kapt" to "ksp" (#3777) 2023-06-29 18:37:46 +02:00
DraftDao.kt Fix DraftDao queries on older SQLite (#3231) 2023-01-28 12:40:46 +01:00
DraftEntity.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00
DraftsAlert.kt Code cleanups (#3264) 2023-02-20 19:58:37 +01:00
InstanceDao.kt Upgrade AndroidX dependencies (#3169) 2023-02-04 20:22:29 +01:00
InstanceEntity.kt Handle even more instance defaults (#2612) 2022-07-26 20:24:50 +02:00
TimelineDao.kt don't rehide filtered posts on interaction (#4130) 2023-12-05 19:29:01 +01:00
TimelineStatusEntity.kt update ktlint plugin to 11.3.1, format code (#3442) 2023-03-13 13:16:39 +01:00