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.26 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.25 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.24 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.23 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.22 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.21 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.20 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.19 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.18 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.17 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.16 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.15 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.14 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.13 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.12 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.11 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.10 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.9 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.8 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb
educode_sales-1.10.7 db/migrate/20210915061738_add_students_count_teacher_follow_ups.rb