PostgresAlterTable class
Methods
-
addIndex(String name, List<String> columns, IndexType type)
→ void
-
-
boolean(String name)
→ MigrationColumn
-
inherited
-
changeColumnType(String name, ColumnType type, {int length = 255})
→ void
-
-
compile(StringBuffer buf, int indent)
→ void
-
-
date(String name)
→ MigrationColumn
-
inherited
-
declare(String name, ColumnType type)
→ MigrationColumn
-
inherited
-
declareColumn(String name, Column column)
→ MigrationColumn
-
-
double(String name)
→ MigrationColumn
-
inherited
-
dropColumn(String name)
→ void
-
-
dropIndex(String name)
→ void
-
-
dropNotNull(String name)
→ void
-
-
dropPrimaryIndex()
→ void
-
-
float(String name)
→ MigrationColumn
-
inherited
-
integer(String name)
→ MigrationColumn
-
inherited
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
numeric(String name, {int precision = 17, int scale = 3})
→ MigrationColumn
-
inherited
-
rename(String newName)
→ void
-
-
renameColumn(String name, String newName)
→ void
-
-
serial(String name)
→ MigrationColumn
-
inherited
-
setNotNull(String name)
→ void
-
-
text(String name)
→ MigrationColumn
-
inherited
-
timeStamp(String name, {bool timezone = false})
→ MigrationColumn
-
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
-
varChar(String name, {int? length})
→ MigrationColumn
-
inherited