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-0.9.52 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.51 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.50 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.49 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.48 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.47 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.46 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.45 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.44 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.43 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.42 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.41 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.40 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.39 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.38 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.37 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.36 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.35 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.34 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.33 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb