]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20121005195010_add_diary_entry_counter_caches.rb
Rename 'issue_type' to 'assigned_role', set defaults in the model and test.
[rails.git] / db / migrate / 20121005195010_add_diary_entry_counter_caches.rb
index 9c2c72710597e37d80c1e73451febb52a1655d9e..1a61ddd41f9ed62b3be3387f4a94ee0e5c1f8f9d 100644 (file)
@@ -1,4 +1,4 @@
-class AddDiaryEntryCounterCaches < ActiveRecord::Migration
+class AddDiaryEntryCounterCaches < ActiveRecord::Migration[5.0]
   def self.up
     add_column :users, :diary_entries_count, :integer, :null => false, :default => 0