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);
}
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);

View file

@ -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