Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions file-service/src/main/resources/changelog.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.9.xsd">

<!-- example changeSet
<changeSet id="1" author="author">
<sqlFile path="sql/updates/1.sql"/>
</changeSet>
-->

</databaseChangeLog>
7 changes: 7 additions & 0 deletions file-service/src/main/resources/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ services:
echo ""
wait
liquibase:
image: liquibase/liquibase:4.29
volumes:
- ../../../../sql:/liquibase/sql
- ./changelog.xml:/liquibase/changelog.xml
command: --url=jdbc:postgresql://host.docker.internal:5432/texera_db --username=postgres --password=postgres --changeLogFile=changelog.xml update

networks:
default:
name: texera-lakefs
Expand Down
Loading