diff --git a/angel_migration/lib/src/table.dart b/angel_migration/lib/src/table.dart index 15daa1dc..e14cbf6b 100755 --- a/angel_migration/lib/src/table.dart +++ b/angel_migration/lib/src/table.dart @@ -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); diff --git a/tool/.travis.sh b/tool/.travis.sh index 651a268a..014ab75f 100644 --- a/tool/.travis.sh +++ b/tool/.travis.sh @@ -12,7 +12,7 @@ function angel_orm_test () { cd angel_orm_generator; pub get; -pub run build_runner build; +echo 1 | pub run build_runner build --delete-conflicting-outputs; cd ..; angel_orm_test angel_orm_postgres -angel_orm_test angel_orm_service \ No newline at end of file +angel_orm_test angel_orm_service