fixed missing view id field error message typo
This commit is contained in:
parent
6b16b7856b
commit
511259ed10
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue