From e65789564369962fe5935a522d874d17ace936ac Mon Sep 17 00:00:00 2001 From: chiu Date: Wed, 18 Sep 2019 19:13:31 +0800 Subject: [PATCH] Add new file add sort_number field for category --- app/models/archive_category.rb | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 app/models/archive_category.rb diff --git a/app/models/archive_category.rb b/app/models/archive_category.rb new file mode 100644 index 0000000..170468f --- /dev/null +++ b/app/models/archive_category.rb @@ -0,0 +1,4 @@ +class ArchiveCategory + include Mongoid::Document + field :sort_number, type: Integer +end \ No newline at end of file