Sha256: 0fa1498cca7b466b51e6ba8d0039caa821cd97e7f6c4f27c375138658c7f84a5
Contents?: true
Size: 1.19 KB
Versions: 22
Compression:
Stored size: 1.19 KB
Contents
class CreateEducodeSalesIdeas < ActiveRecord::Migration[5.2] def change create_table :educode_sales_ideas do |t| t.references :school, index: true, comment: "学校" t.string :name, comment: "名称" t.integer :level, comment: "优先级" t.integer :staff_id, comment: "指派人" t.integer :status, comment: "状态" t.integer :types, comment: "类型" t.integer :model, comment: "部署模式" t.float :hardware, comment: "硬件规模" t.float :project, comment: "项目规模" t.float :money, comment: "项目预算" t.integer :creator_id, comment: "发布人" t.date :end_time, comment: "截止时间" t.integer :history_type, comment: "历史合作" t.text :content, comment: "反馈情况" t.integer :deleter_id, comment: "删除人" t.boolean :is_deleted, default: false, comment: "是否删除" t.datetime :deleted_at, comment: "删除时间" t.references :department, index: true, comment: "部门" t.string :manager_name, comment: "负责人" t.string :manager_phone, comment: "负责人电话" t.text :history_record, comment: "修改记录" t.timestamps end end end
Version data entries
22 entries across 22 versions & 1 rubygems