Change schema to fit auth server

This commit is contained in:
kashiuno 2025-01-08 08:11:44 +03:00
parent c6fddca8ea
commit e5d833846e

View File

@ -4,7 +4,7 @@ databaseChangeLog:
author: d.krupin author: d.krupin
changes: changes:
- createTable: - createTable:
tableName: oauth2_authorized_client tableName: oauth2_registered_client
columns: columns:
- column: - column:
constraints: constraints:
@ -65,12 +65,12 @@ databaseChangeLog:
nullable: false nullable: false
- column: - column:
name: client_settings name: client_settings
type: JSONB type: TEXT
constraints: constraints:
nullable: false nullable: false
- column: - column:
name: token_settings name: token_settings
type: JSONB type: TEXT
constraints: constraints:
nullable: false nullable: false
- createTable: - createTable:
@ -120,4 +120,4 @@ databaseChangeLog:
baseTableName: doors baseTableName: doors
constraintName: FK_unit_door constraintName: FK_unit_door
referencedColumnNames: id referencedColumnNames: id
referencedTableName: oauth2_authorized_client referencedTableName: oauth2_registered_client