[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnumed-devel] Inadvertent deletion of Procedure when Deleting episo
From: |
Karsten Hilbert |
Subject: |
Re: [Gnumed-devel] Inadvertent deletion of Procedure when Deleting episode |
Date: |
Thu, 1 Aug 2013 09:32:27 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Thu, Aug 01, 2013 at 01:04:55AM +0000, Jim Busser wrote:
> It appears that the procedure was not deleted, since I can still find it at
> the bottom of
>
> select * from clin.procedure ;
>
> but the problem now is that the episode to which it is keyed
>
> fk_episode = 397
>
> no longer exists:
>
> select pk from clin.episode WHERE pk = 397 ;
> pk
> ----
> (0 rows)
I would suggest checking your database. It seems to be
lacking a foreign key from clin.clin_root_item.fk_episode to
clin.episode.pk.
Karsten
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
- Re: [Gnumed-devel] Inadvertent deletion of Procedure when Deleting episode,
Karsten Hilbert <=