Jump to content

[resolu] Ajouter un champ à une table


Recommended Posts

Bonjour,

 

je voudrais ajouter un champ à la table product_lang pour ajouter un onglet dans le BO des produits

je fais donc ça 

Db::getInstance()->excute('ALTER TABLE '._DB_PREFIX_.'product_lang ADD `compatibilite` varchar (255)')

mais rien ne ce passe...

ma syntaxe est bonne ?

Edited by gudule1er (see edit history)
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...