schemaSource function
Emits a standalone historical schema library, without application imports.
Implementation
String schemaSource(SchemaSnapshot schema) =>
'''
// Generated physical schema. Keep historical copies with their migration.
import 'package:orm/migrate.dart';
final schema = ${_snapshotSource(schema)};
''';