Skip to content

Fix hasRows check for entity history#348

Merged
JonoPrest merged 1 commit into
mainfrom
jp/fix-start-up-entity-history-check
Nov 19, 2024
Merged

Fix hasRows check for entity history#348
JonoPrest merged 1 commit into
mainfrom
jp/fix-start-up-entity-history-check

Conversation

@JonoPrest

Copy link
Copy Markdown
Collaborator

No description provided.

@JonoPrest JonoPrest requested a review from DZakh November 19, 2024 11:33

let hasRows = async (sql, ~table: Table.table) => {
let query = `SELECT EXISTS(SELECT 1 FROM public.${table.tableName});`
let query = `SELECT EXISTS(SELECT 1 FROM public."${table.tableName}");`

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was lower casing the name on this start up check

@JonoPrest JonoPrest merged commit a39f930 into main Nov 19, 2024
@JonoPrest JonoPrest deleted the jp/fix-start-up-entity-history-check branch November 19, 2024 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants