Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bool is represented as JSON when table is auto-migrated #34

Closed
rafiki270 opened this issue Jun 8, 2019 · 0 comments
Closed

Bool is represented as JSON when table is auto-migrated #34

rafiki270 opened this issue Jun 8, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@rafiki270
Copy link
Member

I think Bool is a basic type that should be represented properly not as an unknown type thus JSON

Happens with PSQL on mac (last column on screenshot)

public var running = Field<Bool>("running")

image

@calebkleveter calebkleveter changed the title [V4] Bool is represented as JSON when table is automigrated Bool is represented as JSON when table is auto-migrated Jun 8, 2019
@tanner0101 tanner0101 transferred this issue from vapor/fluent Jun 11, 2019
@tanner0101 tanner0101 added the enhancement New feature or request label Jun 11, 2019
@tanner0101 tanner0101 added bug Something isn't working and removed enhancement New feature or request labels Jun 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants