Drop dummy classes that are unneeded and don't work
This commit is contained in:
parent
b02d0b9b22
commit
0b7435ab32
1 changed files with 0 additions and 9 deletions
|
@ -1,13 +1,4 @@
|
||||||
class AddNotesAndDiaryCommentsCounterCaches < ActiveRecord::Migration[7.1]
|
class AddNotesAndDiaryCommentsCounterCaches < ActiveRecord::Migration[7.1]
|
||||||
class DiaryComment < ApplicationRecord
|
|
||||||
end
|
|
||||||
|
|
||||||
class NoteComment < ApplicationRecord
|
|
||||||
end
|
|
||||||
|
|
||||||
class User < ApplicationRecord
|
|
||||||
end
|
|
||||||
|
|
||||||
def self.up
|
def self.up
|
||||||
add_column :users, :diary_comments_count, :integer, :default => 0
|
add_column :users, :diary_comments_count, :integer, :default => 0
|
||||||
add_column :users, :note_comments_count, :integer, :default => 0
|
add_column :users, :note_comments_count, :integer, :default => 0
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue