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