Open Stophface opened 1 year ago
@Stophface Hey, have you figured out your issue here?
@radex Sadly not. It is a prepoluated database with several tables and I want an index on only a few columns of a few tables. If I create the index in the pre populated database in SQLite like so
CREATE INDEX bar_foo ON bar (foo);
and use that pre populated database with watermelonDB
, it seems like watermelonDB
requires and index on all columns of the table...
I "solved" it by not using an index.
I am getting the following error on a pre-populated database:
table
is the name if thetable
. Why do I need anindex
on each of my tables, on columnswatermelonDB
relies on? Can anyone explain there this error is coming from?