You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting below error when trying to run the liquibase update command using github actions.
Unexpected error running Liquibase: ERROR: current transaction is aborted, commands ignored until end of transaction block
Caused by: ERROR: syntax error at end of input
Position: 20
====================================================
This is my changelog.sql file
-- changeset DP:1
-- Purpose: Create the initial example_table with primary key and constraints
CREATE TABLE install.liquibase_table (
id INT PRIMARY KEY,
name VARCHAR(100) NOT NULL,
description VARCHAR(255),
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP
);
I am getting below error when trying to run the liquibase update command using github actions.
Unexpected error running Liquibase: ERROR: current transaction is aborted, commands ignored until end of transaction block
Position: 20
====================================================
This is my changelog.sql file
-- changeset DP:1
-- Purpose: Create the initial example_table with primary key and constraints
CREATE TABLE install.liquibase_table (
id INT PRIMARY KEY,
name VARCHAR(100) NOT NULL,
description VARCHAR(255),
created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP
);
=======================================================
``My workflow:
name: Liquibase Update with Redshift
on:
workflow_dispatch:
inputs:
changelog_file:
description: 'Liquibase changelog file name'
required: true
default: 'changelog.sql'
changelog_file_path:
description: 'Path to the Liquibase changelog file'
required: true
default: 'redshift/stg/install'
jobs:
liquibase-update:
runs-on: lytx-data-runner
steps:
- name: Check out code
uses: actions/checkout@v3
The text was updated successfully, but these errors were encountered: