mirror of
https://github.com/valitydev/hooker.git
synced 2024-11-06 00:05:17 +00:00
Ft/hook 39/fix char columns (#22)
* HOOK-39: Fixed all char columns * HOOK-39: Fixed all char columns * revert db properties
This commit is contained in:
parent
3f3f565cd1
commit
2ebc210287
2
pom.xml
2
pom.xml
@ -4,7 +4,7 @@
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
|
||||
<artifactId>hooker</artifactId>
|
||||
<version>1.1.5-SNAPSHOT</version>
|
||||
<version>1.1.6-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>hooker</name>
|
||||
|
30
src/main/resources/db/migration/V1_1_6__fix_char_columns.sql
Normal file
30
src/main/resources/db/migration/V1_1_6__fix_char_columns.sql
Normal file
@ -0,0 +1,30 @@
|
||||
ALTER TABLE hook.message ALTER COLUMN shop_id TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN type TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN event_time TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN party_id TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN invoice_id TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN invoice_reason TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN invoice_due_date TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN invoice_currency TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN invoice_created_at TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN invoice_status TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN invoice_product TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN invoice_description TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN payment_id TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN payment_created_at TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN payment_status TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN payment_error_code TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN payment_error_message TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN payment_currency TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN payment_email TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN payment_phone TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.message ALTER COLUMN payment_ip TYPE CHARACTER VARYING;
|
||||
|
||||
ALTER TABLE hook.webhook_to_events ALTER COLUMN invoice_shop_id TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.webhook_to_events ALTER COLUMN invoice_status TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.webhook_to_events ALTER COLUMN invoice_payment_status TYPE CHARACTER VARYING;
|
||||
|
||||
ALTER TABLE hook.webhook ALTER COLUMN party_id TYPE CHARACTER VARYING;
|
||||
ALTER TABLE hook.webhook ALTER COLUMN url TYPE CHARACTER VARYING;
|
||||
|
||||
ALTER TABLE hook.party_key ALTER COLUMN party_id TYPE CHARACTER VARYING;
|
Loading…
Reference in New Issue
Block a user