If i add some column to VM DB table what will happen with it after VM upgrade?

Started by borro, April 21, 2016, 08:36:52 AM

Previous topic - Next topic

borro

Hello!

Please tell will VM upgrading(e.g. from 3.0.9 to some last stable release) erase additional field in some VM DB table if I will add it before the upgrade?
Wish you happiness!

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Milbo

The tables are updated, but removing of unknown fields is commented. So you can simple add a field to the table.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

AH

As long as the field name is unique enough to never get used by VM    :P
Regards
A

Joomla 3.10.11
php 8.0

franzpeter

Your columns will remain, but if you did set to index that column in the database, the index will get removed with every VM update and you need to recreate the index for that column.