Skip to content

Commit e6b1f44

Browse files
Revert demo test
1 parent 3133398 commit e6b1f44

File tree

2 files changed

+7
-12
lines changed

2 files changed

+7
-12
lines changed
Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
import { column, Schema, Table } from '@powersync/web';
22

3-
const customers = new Table(
4-
{
5-
name: column.text,
6-
created_at: column.text
7-
},
8-
{
9-
viewName: 'customers'
10-
}
11-
);
3+
const customers = new Table({
4+
name: column.text,
5+
created_at: column.text
6+
});
127

138
export const AppSchema = new Schema({
14-
lists: customers
9+
customers
1510
});
1611

1712
export type Database = (typeof AppSchema)['types'];
18-
export type Customer = Database['lists'];
13+
export type Customer = Database['customers'];

packages/capacitor/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ const db = new PowerSyncDatabase({
8787

8888
## Examples
8989

90-
See the [`demos/example-capacitor/`](https://github.com/journeyapps/powersync-react-native-sdk/blob/capacitor-sdk/demos/example-capacitor/README.md#L1) directory for a working example.
90+
See the [`demos/example-capacitor/`](https://github.com/journeyapps/powersync-react-native-sdk/blob/main/demos/example-capacitor/README.md#L1) directory for a working example.
9191

9292
## Found a bug or need help?
9393

0 commit comments

Comments
 (0)