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.95 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.94 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.93 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.92 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.91 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.90 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.89 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.86 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.84 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.83 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.82 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.81 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.80 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.79 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.78 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.77 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.76 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.75 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.74 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.73 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb