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