migrate users db

This commit is contained in:
unknown
2021-09-12 20:24:39 +02:00
parent 6eb6a0cf16
commit afd004b980
3 changed files with 60 additions and 32 deletions

View File

@@ -15,7 +15,7 @@ class DatabaseStruct {
break;
}
return "${name} ${typeName.toUpperCase()}";
return "${name} ${typeName.toUpperCase()} ${name == 'id' ? 'NOT NULL' : ''}";
}
@override