mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-18 00:17:48 +01:00
23 lines
406 B
Dart
23 lines
406 B
Dart
import 'package:powersync/powersync.dart';
|
|
|
|
const tableMuscles = 'exercises_muscle';
|
|
const tableBodyWeights = 'weight_weightentry';
|
|
|
|
Schema schema = const Schema([
|
|
Table(
|
|
tableMuscles,
|
|
[
|
|
Column.text('name'),
|
|
Column.text('name_en'),
|
|
Column.text('is_front'),
|
|
],
|
|
),
|
|
Table(
|
|
tableBodyWeights,
|
|
[
|
|
Column.real('weight'),
|
|
Column.text('date'),
|
|
],
|
|
),
|
|
]);
|