RenameColumn class
Renames an existing SQLite column in a table
- Inheritance
-
- Object
- MigrationCommand
- RenameColumn
Constructors
- RenameColumn(String oldName, String newName, {required String onTable})
-
const
Properties
- down → MigrationCommand
-
Outputs the opposite command to be used in a generator
no setteroverride
- forGenerator → String
-
Outputs model as String to be used in a generator
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- newName → String
-
final
- oldName → String
-
final
- onTable → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- statement → String?
-
This is intentionally null. The SqliteProvider handles renaming columns.
no setteroverride
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
Alias for statement
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited