Add rails version number to migrations
[rails.git] / db / migrate / 20161002153425_add_join_table_between_users_and_diary_entries.rb
index cb8e455dd1c3feca9bfea642214609043aec0f63..088b9d28bb3b718c8e46ebc4666331a5d95207b0 100644 (file)
@@ -1,6 +1,6 @@
 require "migrate"
 
-class AddJoinTableBetweenUsersAndDiaryEntries < ActiveRecord::Migration
+class AddJoinTableBetweenUsersAndDiaryEntries < ActiveRecord::Migration[5.0]
   def self.up
     create_table :diary_entry_subscriptions, :id => false do |t|
       t.column :user_id, :bigint, :null => false