List Info

Thread: Re: how to change a story's element_type in the database




Re: how to change a story's element_type in the database
user name
2007-03-15 14:14:40
Ah! thank you for that tip Scott!

Dawn

On 15-Mar-07, at 2:10 AM, Scott Lanning wrote:

> On Wed, 14 Mar 2007, Dawn Buie wrote:
>> Ok so the primary ID field for the table
'story_instance'  
>> correlates to the 'object_instance_id' field in the
 
>> 'story_element' table.
>>
>> or in other words:  story_instance.id is connected
to  
>> story_element.object_instance_id .
>>
>> I wasn't sure what the object_instance_id field
referred to.
>
> For future reference, do this in `psql`:
>
> d story_element
>
> Near the bottom it says:
>
>     "fk_story__sc_tile" FOREIGN KEY
(object_instance_id) REFERENCES  
> story_instance(id) ON DELETE CASCADE
>


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )