Switch the pasted-token field from DRF tokens to refresh tokens

This commit is contained in:
Roland Geider
2026-05-15 16:28:57 +02:00
parent 42752de182
commit 87a40fd4e6
76 changed files with 1191 additions and 339 deletions

View File

@@ -256,7 +256,7 @@ class ExerciseImageTable extends Table {
DateTimeColumn get created => dateTime()();
DateTimeColumn get lastUpdate => dateTime().named('last_update')();
// License (TASL — Title / Author / Source / License). license_author may be
// License (TASL, Title / Author / Source / License). license_author may be
// null on the server (TextField with null=True); the others are not-null
// strings (possibly empty) on the server.
IntColumn get licenseId => integer().named('license_id')();
@@ -312,7 +312,7 @@ class ExerciseVideoTable extends Table {
DateTimeColumn get created => dateTime()();
DateTimeColumn get lastUpdate => dateTime().named('last_update')();
// License (TASL — Title / Author / Source / License). license_author may be
// License (TASL, Title / Author / Source / License). license_author may be
// null on the server (TextField with null=True); the others are not-null
// strings (possibly empty) on the server.
IntColumn get licenseId => integer().named('license_id')();

View File

@@ -134,7 +134,7 @@ const PowersyncMealTable = ps.Table(
/// Identified by uuid client-side; the `meal_id` FK is the parent meal's
/// uuid (not the server-side integer PK). `amount` is a
/// `DecimalField(decimal_places=2, max_digits=6)` server-side, stored here
/// as REAL — the rounding happens implicitly when DRF coerces back.
/// as REAL, the rounding happens implicitly when DRF coerces back.
@UseRowClass(MealItem, constructor: 'fromDrift')
class MealItemTable extends Table {
@override