Jump to content

Aumentar nº caracteres del campo "referencia"


monicaamb

Recommended Posts

2 Lugares
-Base de Datos
-Archivo

Aqi lo cambianos de 64 a 128 caracteres

ALTER TABLE `ps_product` CHANGE `reference` `reference` VARCHAR(128);


Archivo
src/Core/Domain/Product/ValueObject/Reference.php
 

Modificar 64 al valor de tu eleccion y que coincida en la base de datos

public const MAX_LENGTH = 64;


Ten en cuenta que es para esta referencia, ahy otras referencias para combinaciones
image.png.eb718ca46e347755889887c8ad66feb4.png

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...