28 lines
799 B
PL/PgSQL
28 lines
799 B
PL/PgSQL
-- Revert camper:booking__payment_fields from pg
|
|
|
|
begin;
|
|
|
|
alter table camper.booking
|
|
drop column if exists address
|
|
, drop column if exists postal_code
|
|
, drop column if exists city
|
|
, drop column if exists country_code
|
|
, drop column if exists email
|
|
, drop column if exists phone
|
|
, drop column if exists lang_tag
|
|
, drop column if exists zone_preferences
|
|
, drop column if exists subtotal_nights
|
|
, drop column if exists number_adults
|
|
, drop column if exists subtotal_adults
|
|
, drop column if exists number_teenagers
|
|
, drop column if exists subtotal_teenagers
|
|
, drop column if exists number_children
|
|
, drop column if exists subtotal_children
|
|
, drop column if exists subtotal_dogs
|
|
, drop column if exists subtotal_tourist_tax
|
|
, drop column if exists total
|
|
, drop column if exists currency_code
|
|
;
|
|
|
|
commit;
|