dropSchemaIfExists method

  1. @override
Future<bool> dropSchemaIfExists(
  1. String name
)
override

Drops a schema/namespace if it exists.

For PostgreSQL, this drops the schema and all objects within it (CASCADE). Returns true if dropped, false if didn't exist.

Implementation

@override
Future<bool> dropSchemaIfExists(String name) async {
  throw UnsupportedError(
    'SnapshotSchemaDriver does not support schema management.',
  );
}