mirror of
https://git.imnavajas.es/jjimenez/erp-imprimelibros.git
synced 2026-01-31 16:18:51 +00:00
arreglados varios temas además del DL (redsys, etc)
This commit is contained in:
@ -0,0 +1,33 @@
|
||||
databaseChangeLog:
|
||||
- changeSet:
|
||||
id: 0013-drop-unique-refund-gateway-id
|
||||
author: jjo
|
||||
changes:
|
||||
# 1) Eliminar el índice UNIQUE actual sobre gateway_refund_id
|
||||
- dropIndex:
|
||||
indexName: uq_refund_gateway_id
|
||||
tableName: refunds
|
||||
|
||||
# 2) Crear un índice normal (no único) sobre gateway_refund_id
|
||||
- createIndex:
|
||||
indexName: idx_refund_gateway_id
|
||||
tableName: refunds
|
||||
columns:
|
||||
- column:
|
||||
name: gateway_refund_id
|
||||
|
||||
rollback:
|
||||
# Rollback: quitar el índice normal
|
||||
- dropIndex:
|
||||
indexName: idx_refund_gateway_id
|
||||
tableName: refunds
|
||||
|
||||
# y restaurar el UNIQUE como estaba antes
|
||||
- createIndex:
|
||||
indexName: uq_refund_gateway_id
|
||||
tableName: refunds
|
||||
unique: true
|
||||
columns:
|
||||
- column:
|
||||
name: gateway_refund_id
|
||||
|
||||
Reference in New Issue
Block a user