Skip to content

Commit

Permalink
Fixed SQL query in script to create new postgresql table.
Browse files Browse the repository at this point in the history
  • Loading branch information
cotarr committed Feb 24, 2024
1 parent a5083fa commit e5498c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ and this project adheres to

### Fixed

In SQL-tools/create-oauth-tables.sql file, fixed semicolon instead of comma in SQL query.
This is an example script to create new authclients table in postgresql database.

### Fixed

Issue: When configured to use the postgresql database, after starting the
server for the first time, before any client accounts are created, the server crashes.
This was introduced in v0.0.23.
Expand Down
2 changes: 1 addition & 1 deletion SQL-tools/create-oauth-tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ CREATE TABLE authclients (
"trustedClient" boolean NOT NULL,
"allowedScope" varchar(64)[] NOT NULL,
"allowedRedirectURI" varchar(255)[],
"clientDisabled" boolean NOT NULL DEFAULT FALSE;
"clientDisabled" boolean NOT NULL DEFAULT FALSE,
"deleted" boolean NOT NULL DEFAULT FALSE,
"createdAt" timestamp without time zone NOT NULL,
"updatedAt" timestamp without time zone NOT NULL
Expand Down

0 comments on commit e5498c1

Please sign in to comment.