actually save the link

Albert Sun 10 years ago
parent
commit
52275b60bd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      db/migrate/20140213053001_add_event_id_at_creation_to_links.rb

+ 1 - 0
db/migrate/20140213053001_add_event_id_at_creation_to_links.rb

@@ -15,6 +15,7 @@ class AddEventIdAtCreationToLinks < ActiveRecord::Migration
15 15
       else
16 16
         link.event_id_at_creation = last_event_id
17 17
       end
18
+      link.save
18 19
     end
19 20
   end
20 21