Skip to content

Breaking change on minor version update #4413

@tsukinoko-kun

Description

@tsukinoko-kun

Version

1.31.1

What happened?

Breaking change when updating from v1.30.0 to v1.31.1

Is this intentional or a bug?

Relevant log output

go run ./cmd/prebuild
# github.com/enydyne/app/internal/db
internal/db/category.go:71:19: invalid operation: exists == 1 (mismatched types bool and untyped int)
internal/db/gallery.go:64:19: invalid operation: exists == 1 (mismatched types bool and untyped int)
internal/db/order.go:283:17: invalid operation: exists == 1 (mismatched types bool and untyped int)
internal/db/order.go:378:19: invalid operation: exists == 1 (mismatched types bool and untyped int)
internal/db/restaurant.go:280:19: invalid operation: exists == 1 (mismatched types bool and untyped int)
internal/db/restaurant.go:291:16: invalid operation: exists == 1 (mismatched types bool and untyped int)
internal/db/restaurant.go:504:19: invalid operation: exists == 1 (mismatched types bool and untyped int)
internal/db/sub_category.go:70:19: invalid operation: exists == 1 (mismatched types bool and untyped int)
internal/db/user.go:203:19: invalid operation: exists == 1 (mismatched types bool and untyped int)

Database schema

SQL queries

Configuration

Playground URL

No response

What operating system are you using?

macOS

What database engines are you using?

SQLite

What type of code are you generating?

Go

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions