Skip to content

Commit 1bf59b3

Browse files
committed
Proper type for makeSchema
1 parent c389794 commit 1bf59b3

File tree

1 file changed

+1
-1
lines changed
  • demos/supabase-todolist-optional-sync/lib/models

1 file changed

+1
-1
lines changed

demos/supabase-todolist-optional-sync/lib/models/schema.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import 'package:powersync_flutter_supabase_todolist_optional_sync_demo/models/sy
1616
const todosTable = 'todos';
1717
const listsTable = 'lists';
1818

19-
Schema makeSchema({synced = bool}) {
19+
Schema makeSchema({required bool synced}) {
2020
String syncedName(String table) {
2121
if (synced) {
2222
// results in lists, todos

0 commit comments

Comments
 (0)