Recreate migration test failure with unique constraint

This commit is contained in:
Peter Leibiger 2020-10-13 12:38:16 +02:00
parent 14aa07fffa
commit d0fae0b814
No known key found for this signature in database
GPG Key ID: 855A3ADD4CC39135
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ void main() {
title TEXT NOT NULL,
content TEXT NOT NULL,
target_date INTEGER NOT NULL,
category TEXT NOT NULL
category TEXT NOT NULL,
UNIQUE(title, category)
);
''');