On 8 January 2013 11:34, DHAMODHARAN N <[email protected]> wrote:
> Hi Colin Law,
>
> Existin code ctct_contact.rb => class CtctContact < Contact
>
> After changes ctct_contact.rb => class CtctContact < ActiveRecord::Base
>
> Above changes works fine for me but we cant proceed with that changes right?

I don't understand what you mean.  I thought you were moving /to/ STI,
not away from it.

>
>
> Trace :
>
> -- add_index(:ctct_contacts, [:ctct_account_id, :email_address],
> {:unique=>true})
>    -> 0.0732s
> rake aborted!
> An error has occurred, this and all later migrations canceled:
>
> PG::Error: ERROR:  relation "contacts" does not exist

Show us the whole migration code please.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to