validateDatabaseSchema function

Future<void> validateDatabaseSchema(
  1. GeneratedDatabase database
)

Implementation

Future<void> validateDatabaseSchema(GeneratedDatabase database) async {
  // Unfortunately, validating database schemas only works for native platforms
  // right now.
  // As we also have migration tests (see the `Testing migrations` section in
  // the readme of this example), this is not a huge issue.
}