Jump to content

Recommended Posts

Hey i want to know, when prestashop updates its version , may it will alter or delete the custom field in database? Write now i want to create new custom fields in the table  'carrie' with the field name 'email' and 'phone no', now i want to know when prestashop update its vesrion , it will effect this two fields?

 

Thank You

Link to comment
Share on other sites

No, the custom table should not be affected :)

 

hi Nimo thanks for the reply, actually i want to add custom field in the exisiting table of prestashop and its name is ps_carrier , and i want to know if i add custom fields in this table , does this fields are deletd when prestashop update its version???

Link to comment
Share on other sites

  • 1 month later...

I was wondering the same. It is easy to save the code and handle custom tables, but what happens when we change the structure of an existing one. And I`m looking at both cases with changing existing field (for some reason?) and adding a new one. 

Link to comment
Share on other sites

  • 4 months later...

If you add a column, unless the whole table is dropped, it will be preserved after the upgrade ;)

 

Thank you! good to know that the upgrade process won't delete custom columns in orignial tables, I was wondering the same too. but why then the whole table might risk to be dropped?

Link to comment
Share on other sites

It is difficult to predict what they might do in any future version.  It is possible that they remove a table and replace it with another table, or they remove a table because that functionality has been removed.

 

I have performed a search of the install/upgrade code looking for "drop table", and I get 36 results.  So they have certainly removed tables before.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...