]> git.openstreetmap.org Git - rails.git/commitdiff
Drop dummy classes that are unneeded and don't work
authorTom Hughes <tom@compton.nu>
Sun, 9 Jun 2024 13:54:29 +0000 (14:54 +0100)
committerTom Hughes <tom@compton.nu>
Sun, 9 Jun 2024 13:54:29 +0000 (14:54 +0100)
db/migrate/20240605134916_add_notes_and_diary_comments_counter_caches.rb

index 6b30071bd1cc85e467312a770fe66190254c0b30..d905215957f8d07717cb5f53b9b1c515459dbf3d 100644 (file)
@@ -1,13 +1,4 @@
 class AddNotesAndDiaryCommentsCounterCaches < ActiveRecord::Migration[7.1]
-  class DiaryComment < ApplicationRecord
-  end
-
-  class NoteComment < ApplicationRecord
-  end
-
-  class User < ApplicationRecord
-  end
-
   def self.up
     add_column :users, :diary_comments_count, :integer, :default => 0
     add_column :users, :note_comments_count, :integer, :default => 0