Java: Update model validation to allow database kind for source models.

This commit is contained in:
Michael Nebel
2023-05-08 10:57:04 +02:00
parent ea4ed9e56d
commit 67ec7012fc

View File

@@ -289,7 +289,7 @@ module ModelValidation {
or
exists(string kind | sourceModel(_, _, _, _, _, _, _, kind, _) |
not kind =
["remote", "sql", "contentprovider", "android-widget", "android-external-storage-dir"] and
["remote", "database", "contentprovider", "android-widget", "android-external-storage-dir"] and
not kind.matches("qltest%") and
result = "Invalid kind \"" + kind + "\" in source model."
)