Update archive_category.rb

add field category_id
This commit is contained in:
chiu 2019-09-18 20:25:34 +08:00
parent 8a64439ef3
commit 4825923647
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
class ArchiveCategory
include Mongoid::Document
field :category_id, type: String
field :sort_number, type: Integer
end