mirror of
https://github.com/wger-project/flutter.git
synced 2026-11-29 09:20:56 +01:00
Switch the pasted-token field from DRF tokens to refresh tokens
This commit is contained in:
@@ -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')();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user