If you want to add primary key then you need to override the definition in
custom component/plugin which should be load after the component having
existing  definition load.

Best Regards,
--
Rishi Solanki
*CTO, Mindpath Technology*
Intelligent Solutions
cell: +91-98932-87847
LinkedIn <https://www.linkedin.com/in/rishi-solanki-62271b7/>


On Tue, Sep 20, 2022 at 2:42 PM Altafhusen Makandar <altafhusen...@gmail.com>
wrote:

> Can someone help me out with this scenario?
>
> On Mon, Sep 19, 2022 at 3:30 PM Altafhusen Makandar <
> altafhusen...@gmail.com>
> wrote:
>
> > Hi,
> > I have a requirement to extend a table and add a new column with
> > prim-key tag. I used the <extend-entity> but the prim-key does not work.
> I
> > checked the entitymodel.xsd and it does not have this feature in the
> > extend-entity tag. I also tried to provide a not-null="true" in "field"
> tag
> > but that didn't work either.
> >
> > <field name="fieldId" type="id" not-null="true"/>
> >
> > Am I missing something or is there a workaround for this?
> > Thanks in advance.
> >
>

Reply via email to