migrationStub top-level property

String migrationStub
getter/setter pair

Implementation

String migrationStub = '''
import 'package:vania/vania.dart';

class MigrationName extends Migration {

  @override
  Future<void> up() async{
    super.up();
   await createTableNotExists('TableName', () {
      id();
    });
  }
}
''';