File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
demos/react-native-supabase-todolist/library/powersync Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -26,17 +26,13 @@ export class System {
2626 this . kvStorage = new KVStorage ( ) ;
2727 this . supabaseConnector = new SupabaseConnector ( this ) ;
2828 this . storage = this . supabaseConnector . storage ;
29- // this.powersync = new PowerSyncDatabase({
30- // schema: AppSchema,
31- // database: {
32- // dbFilename: 'sqlite.db'
33- // }
34- // });
35-
36- const factory = new OPSqliteOpenFactory ( {
37- dbFilename : 'sqlite.db'
29+ this . powersync = new PowerSyncDatabase ( {
30+ schema : AppSchema ,
31+ database : {
32+ dbFilename : 'sqlite.db'
33+ }
3834 } ) ;
39- this . powersync = new PowerSyncDatabase ( { database : factory , schema : AppSchema } ) ;
35+
4036 /**
4137 * The snippet below uses OP-SQLite as the default database adapter.
4238 * You will have to uninstall `@journeyapps/react-native-quick-sqlite` and
You can’t perform that action at this time.
0 commit comments