the particular column created in postgres does not have the NOT NULL set to true.
On May 27, 10:10 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > What do you mean it does not make it nonull? > > On May 27, 11:55 am, vihang <vihan...@gmail.com> wrote: > > > Hi, > > > The following does not make the foreign key field notnull (in > > postgres) > > > db.define_table("Purchase_Invoice_Details", > > db.Field("id_Purchase_Invoice", db.Purchase_Invoice, > > notnull=True, ondelete='CASCADE'), > > db.Field("Part_Number","string")) > > > any help. > > > Thanks > > Vihang --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---