add: project trace tasks count

This commit is contained in:
2022-05-11 11:20:18 +08:00
parent 1f13bba52e
commit 7750cbe272
4 changed files with 20 additions and 21 deletions

View File

@@ -1,5 +0,0 @@
class AddTasksCountToTraceUsers < ActiveRecord::Migration[5.2]
def change
add_column :trace_users, :tasks_count, :integer, default: 0
end
end

View File

@@ -0,0 +1,5 @@
class AddTraceTasksCountToProjects < ActiveRecord::Migration[5.2]
def change
add_column :projects, :trace_tasks_count, :integer, default: 0
end
end