fixed missing view id field error message typo

This commit is contained in:
Gani Georgiev 2023-05-24 09:25:39 +03:00
parent 6b16b7856b
commit 511259ed10
2 changed files with 3 additions and 1 deletions

View File

@ -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)). - 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 ## v0.16.1

View File

@ -127,7 +127,7 @@ func (dao *Dao) CreateViewSchema(selectQuery string) (schema.Schema, error) {
} }
if !hasId { 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 return nil