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.72 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.71 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.70 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.69 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.68 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.67 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.66 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.65 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.64 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.63 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.62 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.61 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.60 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.59 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.58 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.57 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.56 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.55 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.54 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-0.9.53 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb