Add Dialog with Pageview to select new house, and then drop a pin where the house is, then zoom map to that area.

This commit is contained in:
2025-04-20 20:36:13 -07:00
parent 9170fffdf8
commit dd9d1a67ab
19 changed files with 1581 additions and 6 deletions

29
lib/database/schema.dart Normal file
View File

@@ -0,0 +1,29 @@
import 'package:powersync/powersync.dart';
const propertiesTable = 'properties';
const markersTable = 'markers';
Schema schema = Schema(([
const Table(
propertiesTable,
[
Column.text('list_id'),
Column.text('photo_id'),
Column.text('created_at'),
Column.text('completed_at'),
Column.text('description'),
Column.integer('completed'),
Column.text('created_by'),
Column.text('completed_by'),
],
indexes: [
// Index to allow efficient lookup within a list
Index('list', [IndexedColumn('list_id')]),
],
),
const Table('markers', [
Column.text('created_at'),
Column.text('name'),
Column.text('owner_id'),
]),
]));