Merge pull request #73 from spamcampus/master
fix migration for text fields
This commit is contained in:
commit
39bd8a1093
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ abstract class Table {
|
|||
return declare(name, ColumnType.timeStampWithTimeZone);
|
||||
}
|
||||
|
||||
MigrationColumn text(String name) => declare(name, ColumnType.serial);
|
||||
MigrationColumn text(String name) => declare(name, ColumnType.text);
|
||||
|
||||
MigrationColumn varChar(String name, {int length}) {
|
||||
if (length == null) return declare(name, ColumnType.varChar);
|
||||
|
|
Loading…
Reference in a new issue