TableMigration class abstract

Implemented types

Constructors

TableMigration({required String name, String? dartName, String? module, required String schema, required List<ColumnDefinition> addColumns, required List<String> deleteColumns, required List<ColumnMigration> modifyColumns, required List<IndexDefinition> addIndexes, required List<String> deleteIndexes, required List<ForeignKeyDefinition> addForeignKeys, required List<String> deleteForeignKeys, required List<DatabaseMigrationWarning> warnings})
factory
TableMigration.fromJson(Map<String, dynamic> jsonSerialization)
factory

Properties

addColumns List<ColumnDefinition>
getter/setter pair
addForeignKeys List<ForeignKeyDefinition>
getter/setter pair
addIndexes List<IndexDefinition>
getter/setter pair
dartName String?
getter/setter pair
deleteColumns List<String>
getter/setter pair
deleteForeignKeys List<String>
getter/setter pair
deleteIndexes List<String>
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
modifyColumns List<ColumnMigration>
getter/setter pair
module String?
getter/setter pair
name String
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schema String
getter/setter pair
warnings List<DatabaseMigrationWarning>
getter/setter pair

Methods

copyWith({String? name, String? dartName, String? module, String? schema, List<ColumnDefinition>? addColumns, List<String>? deleteColumns, List<ColumnMigration>? modifyColumns, List<IndexDefinition>? addIndexes, List<String>? deleteIndexes, List<ForeignKeyDefinition>? addForeignKeys, List<String>? deleteForeignKeys, List<DatabaseMigrationWarning>? warnings}) TableMigration
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a serialized JSON structure of the model which also includes fields used by the database.
override
toJsonForProtocol() Map<String, dynamic>
Returns a JSON structure of the model, optimized for Protocol communication.
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited