class AddStudentsCountTeacherFollowUps < ActiveRecord::Migration[5.2] def change add_column :educode_sales_teacher_follows, :students_count, :integer, default: 0, comment: '学生数' add_column :educode_sales_teacher_follows, :courses_count, :integer, default: 0, comment: '课堂数' add_column :educode_sales_teacher_follows, :evaluates_count, :integer, default: 0, comment: '评测数' add_column :educode_sales_teacher_follows, :course_shixuns_count, :integer, default: 0, comment: '使用实践项目数' add_column :educode_sales_teacher_follows, :shixuns_count, :integer, default: 0, comment: '创建的实践项目数' end end