Sha256: 2bee7da3faec63f1cc8ffca98cbb247f3fd828ce6e2ed0ea743c4aa029edbb2f

Contents?: true

Size: 779 Bytes

Versions: 228

Compression:

Stored size: 779 Bytes

Contents

class CreateEducodeSalesTeachers < ActiveRecord::Migration[5.2]
  def change
    create_table :educode_sales_teachers do |t|
      t.string :name, comment: '老师名'
      t.references :department, comment: '部门'
      t.string :professional_title, comment: '职称'
      t.string :job, comment: '职务'
      t.integer :source_id, comment: '来源'
      t.integer :attitude_id, comment: '态度'
      t.integer :actives, default: 0, comment: '学院渗透率'
      t.integer :students, default: 0, comment: '学生人数'
      t.references :staff
      t.date :regist_at, comment: '注册时间'
      t.references :user, comment: '老师在平台上的用户'
      t.boolean :is_key, default: false, comment: '是否关键人'

      t.timestamps
    end
  end
end

Version data entries

228 entries across 228 versions & 1 rubygems

Version Path
educode_sales-1.10.74 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.73 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.72 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.71 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.70 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.59 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.58 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.49 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.48 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.46 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.41 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.37 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.36 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.35 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.34 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.33 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.31 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.30 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.29 db/migrate/20210902101022_create_educode_sales_teachers.rb
educode_sales-1.10.28 db/migrate/20210902101022_create_educode_sales_teachers.rb