From 17c79c820477db99e3a52dab3418c3ad89adccea Mon Sep 17 00:00:00 2001 From: Tobe Osakwe Date: Thu, 25 Apr 2019 19:58:47 -0400 Subject: [PATCH 1/3] Update .travis.sh --- tool/.travis.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/.travis.sh b/tool/.travis.sh index 651a268a..3589420a 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; 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 From bef85a4b02fc63e3fa32bde6883cb643a0d9535c Mon Sep 17 00:00:00 2001 From: Tobe Osakwe Date: Thu, 25 Apr 2019 20:03:04 -0400 Subject: [PATCH 2/3] Update .travis.sh --- tool/.travis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/.travis.sh b/tool/.travis.sh index 3589420a..014ab75f 100644 --- a/tool/.travis.sh +++ b/tool/.travis.sh @@ -12,7 +12,7 @@ function angel_orm_test () { cd angel_orm_generator; pub get; -echo 1 | 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 From 7e5f5d1f32816df4126cdb6200cebbb213898ca2 Mon Sep 17 00:00:00 2001 From: "S.-C. Lee" Date: Fri, 26 Apr 2019 23:44:25 +0900 Subject: [PATCH 3/3] fix migration for text fields --- angel_migration/lib/src/table.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);