Legislation annotations/comments page
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddCommentsCountToLegislationAnnotation < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :legislation_annotations, :comments_count, :integer, default: 0
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class RenameUserToAuthorInLegislationAnnotations < ActiveRecord::Migration
|
||||
def change
|
||||
rename_column :legislation_annotations, :user_id, :author_id
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user