Capacitor SQLITE: CreateSyncTable: No available connection for database

Hello I have a problem implementing sqlite in ionic v6

my return is CreateSyncTable: No available connection for database

Does anyone have any ideas

code:
codigo

Json for testing
json

error:
error2

Hello,
Did you try to run it on a device?
I had a similar problem using ionic 5. The error appears in the browser, but it works perfectly on the device.

yes i was testing only on devices,
the solution to my problem was to add the columns last_modified/sql_deleted
is required

1 Like