add: project explore api

This commit is contained in:
2021-10-27 14:20:27 +08:00
parent e5eb0d3d47
commit a43f6714de
10 changed files with 69 additions and 6 deletions
@@ -0,0 +1,7 @@
class AddSomeColumnsToProjectDetailFeature < ActiveRecord::Migration[5.2]
def change
add_column :project_categories, :pinned_index, :integer, default: 0
add_column :projects, :is_pinned, :boolean, default: false
add_column :projects, :recommend_index, :integer, default: 0
end
end