feat: liquebase data

This commit is contained in:
Petr Rudichev 2025-02-19 18:59:41 +03:00
parent 33d7c18e88
commit a9953b08be
4 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,9 @@
<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-3.0.xsd">
<changeSet id="2025-02-19--0004-offices-data" author="Petr Rudichev">
<loadData tableName="offices" file="db.changelog/data/csv/2025-02-19--0004-offices-data.csv"
separator=";" quotchar="*" encoding="UTF-8"/>
</changeSet>
</databaseChangeLog>

View File

@ -0,0 +1,9 @@
<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-3.0.xsd">
<changeSet id="2025-02-19--0005-terminals-data" author="Petr Rudichev">
<loadData tableName="terminals" file="db.changelog/data/csv/2025-02-19--0005-terminals-data.csv"
separator=";" quotchar="*" encoding="UTF-8"/>
</changeSet>
</databaseChangeLog>

View File

@ -0,0 +1,9 @@
<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-3.0.xsd">
<changeSet id="2025-02-19--0006-employees-data" author="Petr Rudichev">
<loadData tableName="employees" file="db.changelog/data/csv/2025-02-19--0006-employees-data.csv"
separator=";" quotchar="*" encoding="UTF-8"/>
</changeSet>
</databaseChangeLog>

View File

@ -0,0 +1,9 @@
<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-3.0.xsd">
<changeSet id="2025-02-19--0007-visits-data" author="Petr Rudichev">
<loadData tableName="visits" file="db.changelog/data/csv/2025-02-19--0007-visits-data.csv"
separator=";" quotchar="*" encoding="UTF-8"/>
</changeSet>
</databaseChangeLog>