[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Trouble converting database

On Sat, 2012-06-09 at 20:32 -0400, Chris Travers wrote:
> On Sat, Jun 9, 2012 at 10:03 AM, Robert James Clay <..hidden..> wrote:
> > On Sat, 2012-06-09 at 12:28 -0400, Robert James Clay wrote:
> >>     Decided to go ahead & try that but didn't get as far as checking the
> >> entity table.  I tried commenting out that one constraint (just inserted
> >> ",--" the "check" part of the line) & tried the conversion again but now
> >> come up with a different error:
> >>
> >> ERROR:  new row for relation "person" violates check constraint
> >> "person_last_name_check"
> >>
> >>    Looking at that;  it's both an alphanumeric and NOT NULL
> >> constraint...
> >
> >   But looking further, this time in the apache error log;  it comes
> > with this issue with an insert into the person table:
> >
> > ERROR:  null value in column "first_name" violates not-null constraint
> Check your employee table in 1.2

   Ah, so I might have been looking in the wrong place for that one?  I
also wonder if that first error might be from the employee table;  I'll
need to check the test database again to be sure but IIRC the employee
table had one entry and that entry may not have a first or last name
entered in the database.



Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Ledger-smb-users mailing list