Updated pubspec
This commit is contained in:
parent
f9b07b2477
commit
0235039719
5 changed files with 14 additions and 9 deletions
|
@ -6,7 +6,7 @@ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel
|
|||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
dependencies:
|
||||
angel3_orm: ^4.0.0
|
||||
angel3_orm: ^4.1.0
|
||||
logging: ^1.0.0
|
||||
mysql1: ^0.19.0
|
||||
optional: ^6.0.0
|
||||
|
|
|
@ -6,7 +6,7 @@ repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel
|
|||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
dependencies:
|
||||
angel3_orm: ^4.0.0
|
||||
angel3_orm: ^4.1.0
|
||||
logging: ^1.0.1
|
||||
pool: ^1.5.0
|
||||
postgres: ^2.4.1
|
||||
|
@ -21,3 +21,5 @@ dependency_overrides:
|
|||
path: ../angel_orm_test
|
||||
angel3_orm:
|
||||
path: ../angel_orm
|
||||
angel3_migration:
|
||||
path: ../angel_migration
|
||||
|
|
|
@ -94,9 +94,10 @@ class CarQuery extends Query<Car, CarQueryWhere> {
|
|||
createdAt: fields.contains('created_at') ? (row[1] as DateTime?) : null,
|
||||
updatedAt: fields.contains('updated_at') ? (row[2] as DateTime?) : null,
|
||||
make: fields.contains('make') ? (row[3] as String?) : null,
|
||||
description: fields.contains('description') ? mapToText(row[4]) : null,
|
||||
description:
|
||||
fields.contains('description') ? (row[4] as String?) : null,
|
||||
familyFriendly:
|
||||
fields.contains('family_friendly') ? mapToBool(row[5]) : null,
|
||||
fields.contains('family_friendly') ? (row[5] as bool?) : null,
|
||||
recalledAt:
|
||||
fields.contains('recalled_at') ? (row[6] as DateTime?) : null);
|
||||
return Optional.of(model);
|
||||
|
|
|
@ -48,7 +48,7 @@ class PersonOrderQuery extends Query<PersonOrder, PersonOrderQueryWhere> {
|
|||
|
||||
@override
|
||||
Map<String, String> get casts {
|
||||
return {'price': 'text'};
|
||||
return {'price': 'char'};
|
||||
}
|
||||
|
||||
@override
|
||||
|
@ -212,7 +212,7 @@ class OrderWithPersonInfoQuery
|
|||
|
||||
@override
|
||||
Map<String, String> get casts {
|
||||
return {'price': 'text'};
|
||||
return {'price': 'char'};
|
||||
}
|
||||
|
||||
@override
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
name: angel3_orm_test
|
||||
version: 3.1.2
|
||||
version: 4.0.0
|
||||
description: Common tests for Angel3 ORM. Reference implmentation of the generated ORM files.
|
||||
homepage: https://angel3-framework.web.app/
|
||||
repository: https://github.com/dukefirehawk/angel/tree/master/packages/orm/angel_orm_test
|
||||
environment:
|
||||
sdk: '>=2.12.0 <3.0.0'
|
||||
dependencies:
|
||||
angel3_migration: ^4.0.0
|
||||
angel3_migration: ^4.1.0
|
||||
angel3_model: ^3.1.0
|
||||
angel3_orm: ^4.0.0
|
||||
angel3_serialize: ^4.1.0
|
||||
|
@ -15,7 +15,7 @@ dependencies:
|
|||
collection: ^1.15.0
|
||||
optional: ^6.0.0
|
||||
dev_dependencies:
|
||||
angel3_orm_generator: ^4.1.0
|
||||
angel3_orm_generator: ^5.0.0
|
||||
angel3_framework: ^4.2.0
|
||||
build_runner: ^2.0.1
|
||||
lints: ^1.0.0
|
||||
|
@ -26,3 +26,5 @@ dependency_overrides:
|
|||
path: ../angel_orm_generator
|
||||
angel3_migration:
|
||||
path: ../angel_migration
|
||||
angel3_serialize_generator:
|
||||
path: ../../serialize/angel_serialize_generator
|
||||
|
|
Loading…
Reference in a new issue