class CreateEducodeSalesOperationPlans < ActiveRecord::Migration[5.2] def change create_table :educode_sales_operation_plans do |t| t.references :staff t.date :month, comment: '月份' t.integer :weekly, comment: '周' t.references :teacher t.text :content, comment: '计划内容' t.integer :finish_rate, comment: '完成率' t.timestamps end end end