pachli-android/core/database/schemas/app.pachli.core.database.Ap...
Nik Clayton 0fe84f1611
refactor: Use Date type for scheduled post date / times (#1032)
Previous code accepted the `scheduledAt` value as a String, and kept it
as a String (including when serialising as part of a draft). Then it was
converted to an actual Date for display.

Refactor to keep it as a Date for as long as possible. Moshi decodes
Dates correctly over the network, and the database is configured to
serialise Dates as Longs.

This necessitates two migration steps to preserve any existing
`scheduledAt` values for drafts. The first step adds a new column to
store the date as a Long and copies over existing data. The second step
replaces the old column with the new column.
2024-10-20 16:29:32 +02:00
..
1.json refactor: Start creating core modules (#286) 2023-12-04 16:58:36 +01:00
2.json refactor: Start creating core modules (#286) 2023-12-04 16:58:36 +01:00
3.json refactor: Start creating core modules (#286) 2023-12-04 16:58:36 +01:00
4.json feat: Show information about notification fetches on "About" screen (#454) 2024-02-17 15:57:32 +01:00
5.json feat: Notify the user about severed relationships (#557) 2024-03-21 17:27:48 +01:00
6.json fix: Bump database version after changing foreign key constraint (#1005) 2024-10-14 20:39:34 +02:00
7.json refactor: Use Date type for scheduled post date / times (#1032) 2024-10-20 16:29:32 +02:00
8.json refactor: Use Date type for scheduled post date / times (#1032) 2024-10-20 16:29:32 +02:00