Drop dummy classes that are unneeded and don't work

This commit is contained in:
Tom Hughes 2024-06-09 14:54:29 +01:00
parent b02d0b9b22
commit 0b7435ab32

View 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