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