Skip to content

Commit 56a628e

Browse files
author
William Hart
authored
Fix error in PostgreSQL enum example. (#296)
As per the [PostgreSQL documentation](https://www.postgresql.org/docs/13/sql-createtype.html), the keyword `ENUM` is required when creating an enum type.
1 parent e18eddc commit 56a628e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/postgraphile/enums.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ be automatically renamed in order to make sure they conform to the GraphQL
99
naming requirements and conventions.
1010

1111
```sql
12-
create type animal_type as (
12+
create type animal_type as enum (
1313
'CAT',
1414
'DOG',
1515
'FISH'

0 commit comments

Comments
 (0)