erge branch 'master' of https://github.com/angel-dart/orm
This commit is contained in:
commit
546107132f
2 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue