SqlMigrationLedger.managed constructor

SqlMigrationLedger.managed({
  1. required String connectionName,
  2. ConnectionManager? manager,
  3. ConnectionRole role = ConnectionRole.primary,
  4. String? tableName,
  5. String? tablePrefix,
})

Implementation

SqlMigrationLedger.managed({
  required String connectionName,
  ConnectionManager? manager,
  ConnectionRole role = ConnectionRole.primary,
  String? tableName,
  String? tablePrefix,
}) : this._(
       _applyTablePrefix(tableName ?? 'orm_migrations', tablePrefix),
       _DriverInvoker.managed(
         manager ?? ConnectionManager.defaultManager,
         connectionName,
         role,
       ),
       tablePrefix,
     );