TableMigration constructor

TableMigration({
  1. required String name,
  2. String? dartName,
  3. String? module,
  4. required String schema,
  5. required List<ColumnDefinition> addColumns,
  6. required List<String> deleteColumns,
  7. required List<ColumnMigration> modifyColumns,
  8. required List<IndexDefinition> addIndexes,
  9. required List<String> deleteIndexes,
  10. required List<ForeignKeyDefinition> addForeignKeys,
  11. required List<String> deleteForeignKeys,
  12. required List<DatabaseMigrationWarning> warnings,
})

Implementation

factory TableMigration({
  required String name,
  String? dartName,
  String? module,
  required String schema,
  required List<_i2.ColumnDefinition> addColumns,
  required List<String> deleteColumns,
  required List<_i3.ColumnMigration> modifyColumns,
  required List<_i4.IndexDefinition> addIndexes,
  required List<String> deleteIndexes,
  required List<_i5.ForeignKeyDefinition> addForeignKeys,
  required List<String> deleteForeignKeys,
  required List<_i6.DatabaseMigrationWarning> warnings,
}) = _TableMigrationImpl;