Mehta Rahil Posted December 2, 2013 Share Posted December 2, 2013 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 More sharing options...
NemoPS Posted December 2, 2013 Share Posted December 2, 2013 No, the custom table should not be affected 1 Link to comment Share on other sites More sharing options...
Mehta Rahil Posted December 2, 2013 Author Share Posted December 2, 2013 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 More sharing options...
NemoPS Posted December 2, 2013 Share Posted December 2, 2013 No, they should be preserved, unless for some reason the table gets dropped 2 Link to comment Share on other sites More sharing options...
Mehta Rahil Posted December 2, 2013 Author Share Posted December 2, 2013 No, they should be preserved, unless for some reason the table gets dropped Thanks for the reply Nimo thank you so much Link to comment Share on other sites More sharing options...
GS VISION Posted January 17, 2014 Share Posted January 17, 2014 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 More sharing options...
NemoPS Posted January 17, 2014 Share Posted January 17, 2014 If you add a column, unless the whole table is dropped, it will be preserved after the upgrade Link to comment Share on other sites More sharing options...
frankit Posted May 26, 2014 Share Posted May 26, 2014 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 More sharing options...
NemoPS Posted May 28, 2014 Share Posted May 28, 2014 There is no reason why it should, that's why I said "unless" it should not at all, not usually Link to comment Share on other sites More sharing options...
bellini13 Posted May 28, 2014 Share Posted May 28, 2014 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now