Sha256: 0b2720b0c836888a6ea02e4042ad44ef54192c53101f5b1f0dc2a417f34df1cb

Contents?: true

Size: 660 Bytes

Versions: 226

Compression:

Stored size: 660 Bytes

Contents

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

Version data entries

226 entries across 226 versions & 1 rubygems

Version Path
educode_sales-1.10.74 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.73 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.72 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.71 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.70 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.59 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.58 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.49 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.48 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.46 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.41 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.37 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.36 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.35 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.34 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.33 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.31 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.30 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.29 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.28 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb