dontWriteConstraints property

  1. @override
bool dontWriteConstraints
override

Drift will write some table constraints automatically, for instance when you override primaryKey. You can turn this behavior off if you want to. This is intended to be used by generated code only.

Implementation

@override
bool get dontWriteConstraints => true;