-
Hi all, it seems that I'm missing something very obvious, but I've spent more time that I would like to admit on this. I want to enable fts5 and am using
But I keep getting that the module is not enabled:
I also tried with the snippet below, but again without success.
What am I missing? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Weird, the @override
DriftDatabaseOptions get options =>
const DriftDatabaseOptions(storeDateTimeAsText: true); Is the targets:
$default:
builders:
drift_dev:
options:
foo: bar If the build doesn't fail with that, the config is not being read. |
Beta Was this translation helpful? Give feedback.
Weird, the
build.yaml
configs you've posted seem to do the right thing for me. Can you check whether thestore_date_time_values_as_text
has any effect? At the end of the generated database class, there should be something like this if it is:Is the
.drift
file in another package than thebuild.yaml
file by any chance? To see whether the options are being applied at all, you could try adding a bogus value as well:If the build doesn't fail with that, the config is not being read.