This commit is contained in:
Tobe O 2019-04-29 13:52:46 -04:00
commit 546107132f
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@ abstract class Table {
return declare(name, ColumnType.timeStampWithTimeZone); 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}) { MigrationColumn varChar(String name, {int length}) {
if (length == null) return declare(name, ColumnType.varChar); if (length == null) return declare(name, ColumnType.varChar);

View file

@ -12,7 +12,7 @@ function angel_orm_test () {
cd angel_orm_generator; cd angel_orm_generator;
pub get; pub get;
pub run build_runner build; echo 1 | pub run build_runner build --delete-conflicting-outputs;
cd ..; cd ..;
angel_orm_test angel_orm_postgres angel_orm_test angel_orm_postgres
angel_orm_test angel_orm_service angel_orm_test angel_orm_service