Sha256: 3a13710058ae81579aa8be57d570a9c57133ef8840fc96ee89dfd57e62e2e306

Contents?: true

Size: 508 Bytes

Versions: 228

Compression:

Stored size: 508 Bytes

Contents

class CreateEducodeSalesCourseSubjects < ActiveRecord::Migration[5.2]
  def change
    create_table :educode_sales_course_subjects do |t|
      t.references :teacher
      t.string :name
      t.string :role_name

      t.timestamps
    end
    add_column :educode_sales_teachers, :course_subjects_count, :integer, default: 0
    add_column :educode_sales_teachers, :teacher_follows_count, :integer, default: 0
    add_column :educode_sales_teachers, :activity_teachers_count, :integer, default: 0
  end
end

Version data entries

228 entries across 228 versions & 1 rubygems

Version Path
educode_sales-0.9.32 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.31 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.30 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.29 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.28 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.27 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.26 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.25 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.24 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.23 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.22 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.21 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.20 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.19 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.18 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.17 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.16 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.15 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.14 db/migrate/20210913071607_create_educode_sales_course_subjects.rb
educode_sales-0.9.13 db/migrate/20210913071607_create_educode_sales_course_subjects.rb