Migration class abstract

Constructors

Migration()

Properties

hashCode → int
The hash code for this object.
no setterinherited
migrationName → String
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

alterColumn(String table, dynamic callback(Schema), {String beforeColumn = '', String afterColumn = ''}) → TableDefinition
create(String tableName, dynamic callback(Schema), [bool ifNotExists = false]) → TableDefinition
createTableIfNotExists(String tableName, dynamic callback(Schema)) → TableDefinition
down() → Future<void>
drop(String tableName) → Future<void>
dropTableIfExists(String tableName) → Future<void>
execute(String sql) → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
up() → Future<void>

Operators

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