mirror of https://github.com/AMT-Cheif/drift.git
Correctly call defaultConstraints
This commit is contained in:
parent
c8d63b845d
commit
aefc887c77
|
@ -158,9 +158,7 @@ class GeneratedColumn<T extends Object> extends Column<T> {
|
|||
|
||||
// these custom constraints refer to builtin constraints from drift
|
||||
if (!isSerial && _defaultConstraints != null) {
|
||||
into.buffer
|
||||
..write(' ')
|
||||
..write(_defaultConstraints);
|
||||
_defaultConstraints!(into);
|
||||
}
|
||||
} else if ($customConstraints?.isNotEmpty == true) {
|
||||
into.buffer
|
||||
|
|
Loading…
Reference in New Issue