Skip to content

Commit

Permalink
Drop dummy classes that are unneeded and don't work
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Jun 9, 2024
1 parent b02d0b9 commit 0b7435a
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 0b7435a

Please sign in to comment.