1
0
Fork 0
mirror of https://github.com/s-frick/effigenix.git synced 2026-03-28 15:49:35 +01:00

fix(inventory): doppelten Liquibase-Index und veraltete Test-API korrigieren

Changeset 031 (performed_at-Index) entfernt, da bereits in 028 enthalten.
StockMovementControllerIntegrationTest an JdbcClient-basierte AbstractIntegrationTest migriert
und fehlende Article-FK durch createArticleId() behoben.
This commit is contained in:
Sebastian Frick 2026-02-25 12:28:49 +01:00
parent 46275f6d59
commit 0474b5fa93
3 changed files with 8 additions and 24 deletions

View file

@ -1,14 +0,0 @@
<?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-latest.xsd">
<changeSet id="031-add-performed-at-index-to-stock-movements" author="effigenix">
<createIndex indexName="idx_stock_movements_performed_at" tableName="stock_movements">
<column name="performed_at"/>
</createIndex>
</changeSet>
</databaseChangeLog>

View file

@ -35,7 +35,7 @@
<include file="db/changelog/changes/028-create-stock-movements-table.xml"/>
<include file="db/changelog/changes/029-seed-stock-movement-permissions.xml"/>
<include file="db/changelog/changes/030-add-batch-id-index-to-stock-movements.xml"/>
<include file="db/changelog/changes/031-add-performed-at-index-to-stock-movements.xml"/>
<include file="db/changelog/changes/032-add-batch-id-to-production-orders.xml"/>
</databaseChangeLog>