diff --git a/CHANGELOG.md b/CHANGELOG.md index b282e677..80fa601f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - Auto register the initial generated snapshot migration to prevent incorrectly reapplying the snapshot on container restart ([#2551](https://github.com/pocketbase/pocketbase/discussions/2551)). +- Fixed missing view id field error message typo. + ## v0.16.1 diff --git a/daos/view.go b/daos/view.go index 0181ee0f..421b4fab 100644 --- a/daos/view.go +++ b/daos/view.go @@ -127,7 +127,7 @@ func (dao *Dao) CreateViewSchema(selectQuery string) (schema.Schema, error) { } if !hasId { - return errors.New("missing required id column (you ca use `(ROW_NUMBER() OVER()) as id` if you don't have one)") + return errors.New("missing required id column (you can use `(ROW_NUMBER() OVER()) as id` if you don't have one)") } return nil