getCurrentSchema method

  1. @override
Future<String> getCurrentSchema()
override

Gets the current schema/namespace being used.

For PostgreSQL: Returns the first schema in search_path. For MySQL: Returns the current database. For SQLite: Returns 'main'.

Implementation

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