mirror of
https://github.com/wger-project/flutter.git
synced 2026-02-19 07:50:52 +01:00
24 lines
429 B
Dart
24 lines
429 B
Dart
import 'package:powersync/powersync.dart';
|
|
|
|
const tableMuscle = 'exercises_muscle';
|
|
const tableBodyWeight = 'weight_weightentry';
|
|
|
|
Schema schema = const Schema([
|
|
Table(
|
|
tableMuscle,
|
|
[
|
|
Column.text('name'),
|
|
Column.text('name_en'),
|
|
Column.text('is_front'),
|
|
],
|
|
),
|
|
Table(
|
|
tableBodyWeight,
|
|
[
|
|
Column.text('uuid'),
|
|
Column.real('weight'),
|
|
Column.text('date'),
|
|
],
|
|
),
|
|
]);
|