good question, i don't know.  i didn't inspect the database after the fact
and to be quite honest, don't even know if there's support for foreign keys
in postgres

good question.


On Tue, Apr 15, 2014 at 8:07 AM, podung <notifications@github.com> wrote:

> In db/migrate/20140415053900_add_lookups_to_videos.rb:
>
> > @@ -0,0 +1,6 @@
> > +class AddLookupsToVideos < ActiveRecord::Migration
> > +  def change
> > +    add_column :videos, :heartbreak_id, :integer, references: :heartbreaks
>
> Does this actually create the FK relationship?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/SpeakUpProductions/y2q/pull/6/files#r11632680>
> .
>



-- 
Ben Pomerenke
Software Engineer